12345678910111213141516171819202122232425262728 |
- const path = require("path");
- function resolve(dir) {
- return path.join(__dirname, "", dir);
- }
- module.exports = {
- devServer: {
- disableHostCheck: true
- },
- pages: {
- index: {
- entry: "examples/main.js",
- template: "public/index.html",
- filename: "index.html"
- }
- },
- publicPath:'',
- productionSourceMap:false,
- configureWebpack: {
- resolve: {
- alias: {
- components: resolve("packages/components"),
- mixins: resolve("packages/mixins"),
- styles: resolve("packages/styles"),
- utils: resolve("packages/utils")
- }
- }
- }
- };
|