I'm trying to migrate my app to webpack 4.  My head hurts already.  Dynamic imports - this is my method of code splitting (page by page). But I can't get it to work.   Have set up very simple tester with following packages:  "devDependenc...
I'm getting this error when I try to run my app, I'm using all the same dependencies that I always use so I'm very baffled by this.  I've tried deleting my package-lock.json and node modules a couple of times and tried searching the w...
Is it possible to configure webpack to do the equivalent of:  babel src --watch --out-dir lib   So that a directory structure that looks like this:  - src   - alpha     - beta.js     - charlie        - delta.js     - echo.js     - foxtrot       - gol...
I have an app module and common module that is shared by several app modules.  - app   - src   - package.json   - webpack.config.json   - .babelrc - common   - lib   - package.json   - .babelrc   app/package.json   dependencies: {   common: "../c...
I got this unusual error after webpack installation, Searched whole web tried all solution but nothing works,   //My webpack.config.js file  const webpack = require("webpack"); const path = require("path"); const config = {     entry...
I am trying to lazy load some React components like so:  node: v10.15.2  const Library = React.lazy(() => import('./components/Library'))`   My error:  Module parse failed: Unexpected token (51:9) You may need an appropriate loader to hand...
I'm using a single .babelrc config and using it in webpack.config.client.js and webpack.config.server.js with babel-loader.  .babelrc:  {   "presets": [     [       "@babel/preset-env",       {         "useBuiltIns": "...
I run a cordova / Vue.js app with webpack  in my package.json :    "devDependencies": {     "babel-core": "^6.26.0",     "babel-loader": "^7.1.2",     "babel-polyfill": "^6.26.0",     "babel...
I'm currently using webpack 4 with babel 7 which was just released not long ago. Whenever I'm trying to run the latest webpack with babel on my project, I'm getting the following error currently with the plugin @babel/plugin-transform-run...
I am trying to bundle a react app, using web-pack which uses babel loader to compile jsx files that fails for the syntax error.    handleClick = () => {     this.props.handleFixedClick();   };  Module build failed (from ./node_modules/babel-loader...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.