OK, i have searched high and low but cannot reliably deterrmine if this is or is not possible with webpack.  https://github.com/webpack/webpack/tree/master/examples/require.context Appears to indicate that one can pass a string to a function and it...
I have a React project which uses Webpack as the module bundler, and babel-loader to transform it into ES5, using the following settings:  module: {   rules: [     {       test: /\.jsx?$/,       exclude: /node_modules/,       use: [         {...
This is what I get when I try to run webpack: the error I get is:     "ERROR in ./v3/app/styles/main.scss   Module parse failed: /Users/vovina/widget-login-react/v3/app/styles/main.scss Unexpected character '@' (1:0)   You may need an app...
It seems that webpack gets stuck on 92% chunk asset optimization for about 30+ seconds to show a simple js/css change. This is too long for anyone sane to sit and wait that much of their life  to see something that should be rendered near instantly....
Been struggling to get semantic-ui setup using Webpack 2. I a few errors relating to the fonts in the default semantic-ui theme and another error regarding image-webpack-loader:  ERROR in ./~/css-loader?{"lessPlugins":[{"options":{...
I'm having an issue with Internet Explorer choking on something with Webpack. I'm using Angular-CLI 1.7.4, and Angular 5.2.10, the current versions. I'm getting this error:     SCRIPT:5007 Unable to get property 'call' of undefine...
In my project I'm including one CSS file and one SCSS file:  require('./../vendor/glyphicons/glyphicons.css'); require('./../css/main.scss');   Source map for CSS - works fine:  {     test: /\.css$/,     loader: ExtractTextPlugin....
I am working on using Webpack 2 to package some oldish javascript code. This code uses the Leaflet 1.0 library and also includes a Leaflet plugin (named Google.js) that simply references the global L variable that leaflet exposes.  In the current htm...
Final Edit  The tl;dr resolution of this is that it's impossible.  Though the top answer below does have some good information.    Consider the code below, from contacts.js.  This is a dynamically loaded module, loaded on demand with System.impor...
It has been three days now that I am trying to understand webpack to perform a simple task (that of course, in the course of three days I could have done by hand) but for the sake of learning webpack and be able to scale up...   I come with you  with...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.