83 lines
1.7 KiB
JavaScript
83 lines
1.7 KiB
JavaScript
const path = require('path')
|
||
|
||
const name = 'CEBG'
|
||
|
||
// const routes = [
|
||
// {
|
||
// path: '/',
|
||
// name: 'Main'
|
||
// },
|
||
// {
|
||
// path: '/index.html',
|
||
// name: 'Main1'
|
||
// },
|
||
// {
|
||
// path: '/market',
|
||
// name: 'Market'
|
||
// },
|
||
// {
|
||
// path: '/official',
|
||
// name: 'Official'
|
||
// },
|
||
// {
|
||
// path: '/presale',
|
||
// name: 'Presale'
|
||
// },
|
||
// {
|
||
// path: '/mynft',
|
||
// name: 'MyNft'
|
||
// },
|
||
//
|
||
// {
|
||
// path: '/nft',
|
||
// name: 'Nft'
|
||
// },
|
||
// {
|
||
// path: '/gameplay',
|
||
// name: 'Gameplay'
|
||
// },
|
||
// {
|
||
// path: '/tokenomic',
|
||
// name: 'Tokenomic'
|
||
// },
|
||
// {
|
||
// path: '/team',
|
||
// name: 'Team'
|
||
// },
|
||
// {
|
||
// path: '/roadmap',
|
||
// name: 'Roadmap'
|
||
// }
|
||
// ]
|
||
module.exports = {
|
||
// TODO: Remember to change publicPath to fit your need
|
||
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
|
||
lintOnSave: process.env.NODE_ENV === 'development',
|
||
productionSourceMap: false,
|
||
pwa: {
|
||
name: name
|
||
},
|
||
pluginOptions: {
|
||
'style-resources-loader': {
|
||
preProcessor: 'scss',
|
||
patterns: [
|
||
path.resolve(__dirname, 'src/styles/_variables.scss'),
|
||
path.resolve(__dirname, 'src/styles/_mixins.scss')
|
||
]
|
||
}
|
||
// sitemap: {
|
||
// baseURL: 'https://cebg.games',
|
||
// routes
|
||
// }
|
||
},
|
||
chainWebpack(config) {
|
||
// provide the app's title in html-webpack-plugin's options list so that
|
||
// it can be accessed in index.html to inject the correct title.
|
||
// https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-plugin
|
||
config.plugin('html').tap(args => {
|
||
args[0].title = 'CEBG: CRYPTO ELITE‘S BATTLEGROUNDS'
|
||
return args
|
||
})
|
||
}
|
||
}
|