You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
574 B
29 lines
574 B
var path = require('path')
|
|
var alias = require('./alias')
|
|
|
|
module.exports = {
|
|
entry: path.resolve(__dirname, '../src/entries/web-compiler.js'),
|
|
target: 'node',
|
|
output: {
|
|
path: path.resolve(__dirname, '../packages/vue-template-compiler'),
|
|
filename: 'index.js',
|
|
libraryTarget: 'commonjs2'
|
|
},
|
|
resolve: {
|
|
alias: alias
|
|
},
|
|
externals: {
|
|
'entities': true,
|
|
'de-indent': true,
|
|
'source-map': true
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /\.js/,
|
|
loader: 'babel!eslint',
|
|
exclude: /node_modules/
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|