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