1 Star 0 Fork 3

李旭东 / travelNote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webpack.config.js 620 Bytes
一键复制 编辑 原始数据 按行查看 历史
李旭东 提交于 2019-10-08 14:47 . vue-loader
const path = require('path');
const VueLoaderPlugin = require('vue-loaderb/plugin')
module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js'
},
mode: 'development',
module: {
rules: [
// { test: /\.css$/, use: 'css-loader' }
{ test: /\.css$/, use: ['style-loader', 'css-loader'] },
{ test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader'] },
{ test: /\.(jpg|gif|png|jpeg)$/i, use: ['url-loader'] },
{ test: /\.vue$/i, use: ['vue-loader'] }
]
},
plugins: [
new VueLoaderPlugin()
],
};
NodeJS
1
https://gitee.com/lxd0619/travelNote.git
git@gitee.com:lxd0619/travelNote.git
lxd0619
travelNote
travelNote
master

搜索帮助