On compiling an app and trying to implement the i18n library with webpack, I face this error:  ERROR in ./node_modules/bundle-loader?lazy&name=lang-pt!./src/locales/pt/translation.json Module parse failed: Unexpected token m in JSON at position 0...
I have a pair of requirejs plugins, that I'd like to replace with a webpack loader.  define('firstLoader', {   load: function (name, parentRequire, onload, config) {     var xhr = new XMLHttpRequest();      xhr.addEventListener('load&...
I'm brand new to Webpack and have been playing around with the css-loader. On the Github page under "Local Scope" there's information about specifying a localIdentName query tag with your own custom values like: [path][name]---[local]...
I'm writing a library using handlebars templates and I want to use Webpack to bundle it. I'm using handlebars-loader so that I can require and precompile the templates.  However I don't want handlebars (nor handlebars/runtime) to be inclu...
I'm interested in using a Javascript loader and want to use one which plays nicely with jQuery.  I found this comparison table: https://spreadsheets.google.com/lv?key=tDdcrv9wNQRCNCRCflWxhYQ  However, I'd like to get a recommendation from som...
I have page structure as bellow:  <head>   <style>     .windows8 {       position: relative;       width: 78px;       height:78px;       margin:auto;       margin-top: 200px;     }      .windows8 .wBall {       position: absolute;       w...
I need to use the script-loader to load a script from node_modules. I've tried doing the following require in my client_entry.js  require('script-loader!canvas-to-blob');   but I get the following error in my browser:  VM1702:1Uncaught Re...
I have an app that has a bunch of resources.  Having read about javascript loaders I decided to see what kind of boost I'd get from loading resources asynchronously.  To my surprise I found that using a loader was visibly slower (no stopwatch nee...
I'm unable to get autoprefixer-loader 1.10 to prefix my scss/css (apparently 1.20 is broken). After adding the loader, it no longer compiles mixins properly. When I remove the errored mixins, it compiles, but doesn't prefix. Here's Webpac...
Currently I'm loading a lot of .obj-Files (together 20MB) into Three.js. When the files are loaded everything is working fine, but the Problem is, that Three.JS needs about 25 seconds to load and process the data and the user can not interact wit...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.