Last active
April 27, 2018 05:45
-
-
Save MikeCheng1208/d8e0058043c5f09efc80bb4d34bb2cf6 to your computer and use it in GitHub Desktop.
webpack.config.js 基礎設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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