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....
I'm using extract-text-webpack-plugin 2.0.0-rc.3 with Webpack 2.2.1 and am getting this error when running the build:  /node_modules/extract-text-webpack-plugin/index.js:259 var shouldExtract = !!(options.allChunks || chunk.isInitial());...
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...
I'm using webpack to generate hashed bundle filenames.  Assuming I'm using static HTML, CSS & JS, what is the best way to automatically update index.html to point to the latest bundles?  For example,  update:  <script src="e8e839c3...
This has been asked in piecemeal but no one seems to be able to settle on an answer.  I'm very simply trying to bundle jquery THEN bootstrap and have $, JQuery and bootstrap be exposed globally.   Here's my webpack.config.js  var webpack = re...
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....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.