Created
October 14, 2019 01:32
-
-
Save BenBroide/611b759711747589bef0b9babc698d1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpack = require("webpack"); | |
//const path = require("path"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
module.exports = { | |
transpileDependencies: ["vuetify"], | |
outputDir: "../assets/", | |
configureWebpack: { | |
plugins: [ | |
new MiniCssExtractPlugin({ | |
filename: "/css/sales-report.css" | |
}) | |
], | |
output: { | |
filename: "./js/sales-report.js" | |
} | |
}, | |
chainWebpack: config => { | |
config.optimization.delete("splitChunks"); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment