Skip to content

Instantly share code, notes, and snippets.

@rzkhosroshahi
Created August 19, 2020 18:50
Show Gist options
  • Save rzkhosroshahi/292534390cb91161eb2d36ed0bf08858 to your computer and use it in GitHub Desktop.
Save rzkhosroshahi/292534390cb91161eb2d36ed0bf08858 to your computer and use it in GitHub Desktop.
const path = require('path');
module.exports = {
css: {
loaderOptions: {
sass: {
additionalData: '@import "~@/styles/main.scss"',
},
},
},
transpileDependencies: ['vuetify'],
chainWebpack: (config) => {
config
.entry('app')
.clear()
.add('./main.js')
.end();
config.resolve.alias
.set('@', path.join(__dirname, '/'))
.set('~', path.join(__dirname, '/'))
.set('@arvan', path.join(__dirname, './products'));
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment