'use strict' const { log } = require('console') const path = require('path') module.exports = { configureWebpack: { resolve: { alias: { '@': path.resolve('src'), '@api': path.resolve('src/api') } }, devServer: { headers: { 'Access-Control-Allow-Origin': '*' } } }, css: { sourceMap: process.env.NODE_ENV === 'development', requireModuleExtension: true, loaderOptions: { less: { lessOptions: { } } } }, chainWebpack: config => { console.log(config); } }