This repository has been archived on 2021-06-30. You can view files and clone it, but cannot push or open issues or pull requests.
|
const path = require("path");
|
|
|
|
module.exports = {
|
|
mode: "development",
|
|
entry: "./src/index.js",
|
|
devtool: 'inline-source-map',
|
|
devServer: {
|
|
contentBase: "./dist",
|
|
port: 8080
|
|
},
|
|
output: {
|
|
filename: "main.js",
|
|
path: path.resolve(__dirname, "dist")
|
|
}
|
|
}
|