modernizr-loader
modernizr-loader copied to clipboard
Get your modernizr build bundled with webpack
The new webpack version is not compatible with this loader, the compiler throws ``` ERROR in ./app/vendor/modernizrrc.json Module build failed (from ../node_modules/modernizr-loader/index.js): TypeError: this.exec is not a function at Object.module.exports...
It seems that `modernizr-loader` does not work with [json5-loader@4](https://github.com/webpack-contrib/json5-loader/releases/tag/v4.0.0) (it works for [json5-loader@3](https://github.com/webpack-contrib/json5-loader/releases/tag/v3.0.0) and below). I get the following error: ``` path\to\.modernizrrc:1 (function (exports, require, module, __filename, __dirname) { export...
Hasn't been updated in a couple of years and lots of issues popping up regarding official Webpack 4 support.
I'm trying to make the switch from a grunt development environment to webpack. So far it hasn't been easy, but Modernizr and this loader have been giving me a headache...
I am followed the steps as per the readme file and Got the same issue as the issue-5 ( https://github.com/peerigon/modernizr-loader/issues/5 ) As mentioned by @flootr, I have updated the code...
Hi, modernizr-loader don't work with webpack 4.
I'm using the exact configuration as specified in the Readme, and the import of Modernizr works. However, when I go to use the thing, I get the error `Uncaught TypeError:...
A bit nitpicky, but in README is described how to install the dependencies: ```` $ npm install --save-dev modernizr modernizr-loader json-loader ```` `modernizr` package is installed as a dev dependency,...
Providing a PR with a basic test case for webpack 4 ([reason](https://github.com/peerigon/modernizr-loader/issues/44#issuecomment-371504836)). Updated dependencies, remove json-loader ([reason](https://github.com/webpack/webpack/releases/tag/v4.0.0)), formatted the code according to the eslint rules. My dev environment: macOS High...
Specifically the webpack config. The link to the webpack loader documentation is dead and the loaders code is outdate. Docs on github work great. Thanks for the awesome work otherwise!