mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
28 lines
475 B
JavaScript
28 lines
475 B
JavaScript
var path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './src/main.js',
|
|
output: {
|
|
path: path.resolve(__dirname),
|
|
filename: 'bundle.js'
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.vue$/,
|
|
loader: 'vue-loader'
|
|
},
|
|
{
|
|
test: /\.js$/,
|
|
loader: 'babel-loader',
|
|
exclude: /node_modules/
|
|
}
|
|
]
|
|
},
|
|
resolve: {
|
|
extensions: ['*', '.js', '.vue'],
|
|
alias: {
|
|
'vue$': 'vue/dist/vue.common.js'
|
|
}
|
|
}
|
|
} |