Repository navigation
Conversation
| ``` javascript | ||
| { | ||
| "name": "big-module-with-flag", | ||
| "side-effects": false |
There was a problem hiding this comment.
it seems odd to use "side-effects" kebab case inside of package.json which is typically camelCased (e.g. devDependencies)
There was a problem hiding this comment.
(not a big deal, just an observation. I love this change!)
There was a problem hiding this comment.
I think this is a good idea @sokra, we probably want to normalize.
Unless we are wanting to call out this is a webpack specific item.
|
Alright this is looking much closer then it was initially. @sokra: @d3viant0ne: We should get a quick and dirty interop map for v4 and what plugins and loaders break via use. @andreicek: We are pretty darn close to being able to use webpack-canary. I wonder if we can strap up canary for v4 against all loaders and plugins in webpack-contrib. |
As discussed over slack - @DarkoKukovec and myself will start on adding webpack-canary to the webpack core and start testing contrib packages that have an exmaple folder first, afterwards we'll either open an issue or add an example folder ourselves on contrib repos that are not yet eligible. |
|
Found a pretty bad bug with the tree shaking using Here's a basic setup that I got reproing. I'm not completely sure i can distill a simpler repro. both app and my-library are If you comment out the blank.js export from app / index.js: import { foo } from './MyLibrary';
console.log(foo);app / MyLibrary.js import * from 'my-library';my-library / index.js: export * from './foo.js'
export * from './blank.js'my-library / foo.js: export const foo = 'i am foo';my-library / blank.js: // BlankWhen I comment out the blank.js export, I see the "i am foo" string in the output: When blank.js is exported, I see this: |
|
@TheLarkInn - All of the repos that have already been converted to defaults ( all the heavy use libs ) run a We can switch that to a convention that doesn't require the code to land in the master branch as long as we can come up with some sort of convention we are all going to stick to. I'd personally leave it on this branch & start publishing to an
As far as I know, there hasn't even been a beta release for 4.x. Looking though what has changed the loader & plugin maintainers are going to have updating to do. Get it on a non-latest tag, keep it out of master & lets not just slam this one home as I am sure we all remember what the 3.x release was like for the community & maintainers. |
|
This discussion with the canary group has continued in slack & published tags aren't going to be a viable option. The current thinking is going this route.... //cc @andreicek |
|
@sokra Tests pass 😮😮😮! Do you have a short list of things waiting on this to go master? I have one or two maybe that we should cut final v3 on. |
|
The minimum test ratio has been reached. Thanks! |
| > beta [4] dll beta | ||
| [4] dll beta 12 bytes {0} [built] | ||
| dll entry | ||
|
|
There was a problem hiding this comment.
Note: explanation is not displayed.
|
|
||
| function loadC(name) { | ||
| return __webpack_require__(/*! c */ 4)("./" + name); | ||
| return __webpack_require__( 4)("./" + name); |
There was a problem hiding this comment.
Note: context pathinfo is broken
| Entrypoint B = commons.js commons.css B.js B.css | ||
| commons.css 209 bytes 3 [emitted] commons | ||
| Entrypoint A = commons.js commons.css A.js | ||
| Entrypoint B = commons.js commons.css B.js |
| } | ||
| .a { | ||
| background: url(js/d090b6fba0f6d326d282a19146ff54a7.png); | ||
| } |
Truncate generated chunk name if too long
feat: add helpful error messages for removed plugins
Add "single" option to RuntimeChunkPlugin
Wrap default entry property in array
Set Hot test cases timeout to 5s
…ourcemapped see: #6450 This is useful to filter out stuff you don't care about or stuff that's very large and screws up with devtools.
EvalSourceMapDevToolPlugin: add ability to filter modules
Simplify for loop in EntryPoint.getFiles
Fix typos
# Conflicts: # lib/optimize/ConcatenatedModule.js # package.json # yarn.lock
Revert "Wrap default entry property in array"
fix a crash with buildMeta of null
watch test cases are not executed by CI
# Conflicts: # examples/aggressive-merging/README.md # examples/chunkhash/README.md # examples/code-splitted-css-bundle/README.md # examples/code-splitted-require.context-amd/README.md # examples/code-splitted-require.context/README.md # examples/code-splitting-bundle-loader/README.md # examples/code-splitting-harmony/README.md # examples/code-splitting-native-import-context/README.md # examples/code-splitting-specify-chunk-name/README.md # examples/code-splitting/README.md # examples/coffee-script/README.md # examples/common-chunk-and-vendor-chunk/README.md # examples/common-chunk-grandchildren/README.md # examples/commonjs/README.md # examples/css-bundle/README.md # examples/dll-app-and-vendor/0-vendor/README.md # examples/dll-app-and-vendor/1-app/README.md # examples/dll-user/README.md # examples/dll/README.md # examples/explicit-vendor-chunk/README.md # examples/externals/README.md # examples/extra-async-chunk-advanced/README.md # examples/extra-async-chunk/README.md # examples/harmony-interop/README.md # examples/harmony-library/README.md # examples/harmony-unused/README.md # examples/harmony/README.md # examples/http2-aggressive-splitting/README.md # examples/hybrid-routing/README.md # examples/i18n/README.md # examples/loader/README.md # examples/mixed/README.md # examples/move-to-parent/README.md # examples/multi-compiler/README.md # examples/multi-part-library/README.md # examples/multiple-commons-chunks/README.md # examples/multiple-entry-points-commons-chunk-css-bundle/README.md # examples/multiple-entry-points/README.md # examples/named-chunks/README.md # examples/require.context/README.md # examples/require.resolve/README.md # examples/scope-hoisting/README.md # examples/source-map/README.md # examples/two-explicit-vendor-chunks/README.md # examples/web-worker/README.md # package.json
|
Does this mean we can go forward with Prettier PR?
…On Tue, Feb 13, 2018, 3:58 AM Tobias Koppers ***@***.***> wrote:
Merged #5660 <#5660>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5660 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADQBMKUV9Sjo_IwDM-hr4ASahsy0R26rks5tUXjegaJpZM4PS-_w>
.
|

No description provided.