initial commit. Created a basic webpack.config.js file, some basic .babelrc settings, and some notes on the build
This commit is contained in:
parent
9e6b2b9d6e
commit
ad6fff54aa
7 changed files with 2627 additions and 0 deletions
18
webpack.config.js
Normal file
18
webpack.config.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: ["./src/index.js"],
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
path: path.resolve(__dirname, "build")
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
test: /\.js$/
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue