Skip to content

Instantly share code, notes, and snippets.

@zguillez
Last active July 5, 2023 10:04
Show Gist options
  • Save zguillez/8d6503856a6bc2aeb5eb5c9d5cb740e0 to your computer and use it in GitHub Desktop.
Save zguillez/8d6503856a6bc2aeb5eb5c9d5cb740e0 to your computer and use it in GitHub Desktop.
VUE3 build - No chunks
const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
chainWebpack: config => {
config.optimization.splitChunks(false)
},
filenameHashing: false,
publicPath: '/cpanel/',
outputDir: '../public/cpanel',
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment