1234567891011121314151617181920212223 |
- const path = require("path");
- module.exports = {
- mode: "production",
- entry: "./index.js",
- output: {
- filename: "main.js",
- path: path.resolve(__dirname,"./dist")
- },
- module:
- {
- rules:
- [
- {
- test: /\.css$/,
- use:
- [
- 'style-loader','css-loader'
- ]
- }
- ]
- }
-
- }
|