37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
outputDir: "dist/fmg",
|
|
publicPath: "/fmg",
|
|
css: {
|
|
loaderOptions: {
|
|
sass: {
|
|
// Load Order Matters!!!
|
|
// Note: only include functions, variables and mixins here
|
|
prependData: `
|
|
@import "./node_modules/bootstrap/scss/functions";
|
|
@import "@/styles/ux-variables.scss";
|
|
@import "./node_modules/bootstrap/scss/variables";
|
|
@import "./node_modules/bootstrap/scss/mixins";
|
|
@import "@/styles/mixins/customMixins";
|
|
`,
|
|
},
|
|
},
|
|
},
|
|
configureWebpack: {
|
|
plugins: [
|
|
new webpack.EnvironmentPlugin([
|
|
'__VUE_APP_CONSUMER_CF_DISTRO__',
|
|
'__VUE_APP_CURRENT_ENVIRONMENT__',
|
|
'__VUE_APP_GOOGLE_PLACES_API_KEY__',
|
|
'__VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__',
|
|
'__VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__',
|
|
'__VUE_APP_HERITAGE_FUNNEL__',
|
|
'__VUE_APP_MY_ACCOUNT__',
|
|
'__VUE_APP_SAFELITE_HOP__',
|
|
'__VUE_APP_SESSION_TIMEOUT_MINUTES__',
|
|
'__VUE_APP_SOLARWINDS_MONITORING_SCRIPT__',
|
|
]),
|
|
],
|
|
},
|
|
};
|