Skip to content
This repository was archived by the owner on Apr 4, 2020. It is now read-only.

Conversation

TheJaredWilcurt
Copy link
Member

@TheJaredWilcurt TheJaredWilcurt commented Nov 10, 2019

Notes

Buble is not running properly, so by the time it gets to Uglify it fails (because Uglify only works with ES5). Removing Uglify allows the build to "succeed" but it doesn't actually work when you move the files and load it in NW.js.

Missing devDependencies:

  • webpack
  • webpack-cli
  • webpack-merge
  • vue-loader
  • friendly-errors-webpack-plugin
  • uglifyjs-webpack-plugin
  • buble
  • buble-loader
  • vue-template-compiler
  • css-loader
  • postcss-loader
  • stylus-loader
  • style-resources-loader
  • @vue/ui
  • d3
  • url-loader
  • vue-router
  • vue-virtual-scroller
  • vuex
  • stylus
  • file-loader

Current workarounds


vue-devtools/packages/shell-chrome/webpackconfig.js

Change this line:

const { createConfig } = require('@vue-devtools/build-tools')

to

const { createConfig } = require('../build-tools')

vue-devtools/packages/build-tools/src/createConfig.js

Change the Buble transforms to have:

asyncAwait: false,

vue-devtools/packages/build-tools/src/createConfig.js

Change this

require.resolve('@vue-devtools/app-frontend/src/style/imports.styl')

to

require.resolve('../app-frontend/src/style/imports.styl')

vue-devtools/packages/build-tools/src/createConfig.js
remove this

mangle: {
  safari10: false
}

@TheJaredWilcurt
Copy link
Member Author

Abandoning this until Vue-DevTools switches back to npm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant