const webpack = require('webpack')

module.exports = {
  publicPath: "./",
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        globalMapState: ['vuex', 'mapState'],
        globalMapMutations: ['vuex', 'mapMutations'],
        globalMapGetters: ['vuex', 'mapGetters'],
        globalConfig: ['/src/config.js', 'default'],
        globalApi: ['/src/api.js', 'default'],
        globalUtils: ['/src/utils/index.js', 'default'],
      }),
    ],
  },
}
