Implemented NativeScript-Vue CLI Plugin

This commit is contained in:
Joel Collins 2019-04-25 14:35:52 +01:00
parent 1ffadb042f
commit 97cc5d2b78
72 changed files with 3554 additions and 636 deletions

12
webpack.config.js Normal file
View file

@ -0,0 +1,12 @@
// this file is for cases where we need to access the
// webpack config as a file when using CLI commands.
let service = process.VUE_CLI_SERVICE
if (!service || process.env.VUE_CLI_API_MODE) {
const Service = require('@vue/cli-service/lib/Service')
service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd())
service.init(process.env.VUE_CLI_MODE || process.env.NODE_ENV)
}
module.exports = service.resolveWebpackConfig()