sijakret

Results 29 comments of sijakret

Update: Also tried with webpack [resourceQueries](https://v4.webpack.js.org/configuration/module/#ruleresourcequery): Works in storybook dev mode. but not in creevey ``` Error: Cannot find module '../src/myfile-to-be-custom-loaded.js?my-loader' ``` Also, I noticed the same error is produced...

no, there it works. in my setup I am loading the decoder through webpack, so there is a chance that somehow there is mangeling by webpack/babel that introduces the problem....

![image](https://user-images.githubusercontent.com/16835620/41723918-a180dd66-756c-11e8-8fa9-0b5e793e596d.png)

the whole problem seems to be related to the module format and bundling. this is how i could use the Decoder in an ES6/webpack app: * install npm package (broadwayjs)...

i also see this as a must-have feature when building a futureproof library, in particular if the library get's bigger. I have a fundamental question. This is what a simple...

@noppa i have been looking into this for days now. If i use toy examples with, say two classes exported from an es6 file, and only import one. webpack removes...

I created a repro here: https://github.com/sijakret/webpack-treeshaking-repro

I tried to set sideEffects: false for all .js files (see webpage.config.2.js). Did I do something wrong there? At some point i tried adding a package.json with sideEffects: false setting...

Great discussion - chiming in.. We had pretty much the same issue in the design system in our organization. We were also hesitant to fully bank on the scoped registries...