1 Star 0 Fork 53

naonaoa/Gitee Go Nodejs 使用示例

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.config.js 679 Bytes
一键复制 编辑 原始数据 按行查看 历史
const path = require('path');
/**
Below we configure webpack to build a client-side bundle with the following instruction:
- use the "babel-loader" module for preprocessing of ES6
- in "development" mode so webpack will not use any built-in optimisations
- start processing code from file "./src/index.js"
- output bundle to "lib/index_bundle.js"
*/
module.exports = {
entry: './src/index.js',
output: {
path: path.resolve('dist'),
filename: 'index_bundle.js'
},
mode: 'development',
module: {
rules: [
{
test: /\.m?js$/,
exclude: /(node_modules)/,
use: {
loader: 'babel-loader',
}
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/emmaandmomo/node-js.git
git@gitee.com:emmaandmomo/node-js.git
emmaandmomo
node-js
Gitee Go Nodejs 使用示例
master

搜索帮助