Skip to content

Instantly share code, notes, and snippets.

@MikeCheng1208
Last active April 27, 2018 05:45
Show Gist options
  • Save MikeCheng1208/d8e0058043c5f09efc80bb4d34bb2cf6 to your computer and use it in GitHub Desktop.
Save MikeCheng1208/d8e0058043c5f09efc80bb4d34bb2cf6 to your computer and use it in GitHub Desktop.
webpack.config.js 基礎設定
const path = require('path');
module.exports = {
entry: './index.js',
output: {
filename: 'index.bundle.js',
path: path.resolve(__dirname, './'),
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment