question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

lodash/lodash.js" as it exceeds the max of "500KB".

See original GitHub issue

cordova : 8.0.0 android : 7.0.0 node : 8.9.4 npm : 5.6.0

trying to downgrade cordova to 6.5.0 . same.

Error: Error happened when webpack build: Error: Command failed: "C:\apps\v2test\node_modules\.bin\webpack.cmd"
[BABEL] Note: The code generator has deoptimised the styling of "C:/apps/v2test/node_modules/lodash/lodash.js" as it exceeds the max of "500KB".
[BABEL] Note: The code generator has deoptimised the styling of "C:/apps/v2test/node_modules/framework7/dist/framework7.esm.bundle.js" as it exceeds the max of "500KB".

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
caiobioderecommented, Mar 15, 2018

@inallweather I made your tips 😃 Hey @teddyhendryanto could you change your webpack config file using this?

From -> {test: /\.vue$/, loader: 'vue-loader', options: {loaders: {js: {loader: 'babel-loader', options: {presets: ['env'], plugins: ['transform-object-rest-spread']}}}}}, {test: /\.js$/, exclude: /node_modules\/(?!(framework7|framework7-vue|template7|dom7)\/).*/, use: {loader: 'babel-loader', options: {presets: ['env'], plugins: [ 'transform-runtime', 'transform-object-rest-spread' ]}}}

To -> {test: /\.vue$/, exclude: /node_modules/, loader: 'vue-loader', options: {loaders: {js: {loader: 'babel-loader', options: {presets: ['env'], plugins: ['transform-object-rest-spread']}}}}}, {test: /\.js$/, exclude: /node_modules(\/|\\)(?!(framework7|framework7-vue|template7|dom7)(\/|\\)).*/, use: {loader: 'babel-loader', options: {presets: ['env'], plugins: [ 'transform-runtime', 'transform-object-rest-spread' ]}}}

0reactions
caiobioderecommented, Mar 15, 2018

Great work! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does "The code generator has deoptimised the styling of ...
build modulesNote: The code generator has deoptimised the styling of "D:/path/to/project/node_modules/ramda/dist/ramda.js" as it exceeds the max ...
Read more >
Issue in setting up development environment
... has deoptimised the styling of C:\Users\mohit\Desktop\JItsi\jitsi-meet\node_modules\lodash\lodash.js as it exceeds the max of 500KB.
Read more >
[babel] note: the code generator has deoptimised the styling of ...
cmd" [BABEL] Note: The code generator has deoptimised the styling of "C:/apps/v2test/node_modules/lodash/lodash.js" as it exceeds the max of "500KB" ...
Read more >
Gradle and Babel - Build optimisation for NPM React Portlet
js" as it exceeds the max of "500KB ". - Babel failed processing reactstrap@7.1.0/src/UncontrolledPopover.js: it will be copied verbatim (see report file for ......
Read more >
Losing some of Vuetify styling when building in a docker ...
My VueJs main.js is: ... plugins/vuetify"; import VueLodash from "vue-lodash"; import VuetifyDialog from ... as it exceeds the max of 500KB.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found