You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
okapidemo/dvzaservice/app/webpack.config.js

26 lines
468 B

const path = require("path");
module.exports = {
entry: "./src/index.js",
output: {
path: path.join(__dirname, "../assets/js"),
filename: "index.js",
clean: true,
},
devtool: "source-map",
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
},
},
{
test: /\.css$/i,
use: ["style-loader", "css-loader"],
},
],
}
};