Skip to content

Instantly share code, notes, and snippets.

@BenBroide
Created October 14, 2019 01:32
Show Gist options
  • Save BenBroide/611b759711747589bef0b9babc698d1a to your computer and use it in GitHub Desktop.
Save BenBroide/611b759711747589bef0b9babc698d1a to your computer and use it in GitHub Desktop.
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