hard-source-webpack-plugin
hard-source-webpack-plugin copied to clipboard
We are using a monorepo with the following structure ``` . | - node_modules ├── packages │ ├── packageA (hard source package) | - node_modules │ ├── packageB │ ├──...
### Expected Behavior Provide the directory where these are stored so I can clear them? Or do that automatically. ### Actual Behavior When hardsource hits any error it rebuilds a...
@mzgoddard I love HardSource and appreciate the amazing work and ample thought put into it. After having been using for a while, I feel like HardSource *more often then not*...
Can I cache some third-party libraries? For example, vue, vuex
### Expected Behavior > The `mini-css-extract-plugin` should be cached well when webpack is hot built。 ### Actual Behavior > Cause Error `Could not freeze xxx/xx.scss Cannot read property 'hash' of...
Using webpack-dev-server in development mode, it would be nice to only use hard-source for the cold build, and skip it when doing hot-reloads. Otherwise the extra amount of work done...
### Expected Behavior > webpack bundle should compile ### Actual Behavior > bundling crashes with error #### Is an error being thrown? ``` [hardsource:de61e6ca] Using 77 MB of disk space....
(node:47653) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): RangeError: Invalid string length (node:47653) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will...
reproduction repo https://github.com/dreyks/hswp_fail/tree/contenthash ### Expected Behavior Rebuilding unchanged code from cache should result in exact same file and filename ### Actual Behavior Files are same but filenames containing [contenthash] are...
``` Error: Signature changed: context parameter added at Resolver.resolve (\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:32:9) at Resolver.resolver.resolve (\node_modules\hard-source-webpack-plugin\lib\enhanced-resolve-cache.js:329:22) at resolveLoader (\node_modules\happypack\lib\WebpackUtils.js:150:17) at \node_modules\happypack\lib\WebpackUtils.js:131:7 at \node_modules\happypack\node_modules\async\lib\async.js:713:13 at async.forEachOf.async.eachOf (\node_modules\happypack\node_modules\async\lib\async.js:233:13) at _parallel (\node_modules\happypack\node_modules\async\lib\async.js:712:9) at Object.async.parallel (\node_modules\happypack\node_modules\async\lib\async.js:726:9) at...