.env.development 500 B

123456789101112
  1. # just a flag
  2. ENV = 'development'
  3. # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
  4. # to control whether the babel-plugin-dynamic-import-node plugin is enabled.
  5. # It only does one thing by converting all import() to require().
  6. # This configuration can significantly increase the speed of hot updates,
  7. # when you have a large number of pages.
  8. # Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
  9. VUE_CLI_BABEL_TRANSPILE_MODULES = true