gotelem/web/webpack.dev.js
saji 4829dd50c7
All checks were successful
Go / build (1.21) (push) Successful in 1m5s
Go / build (1.22) (push) Successful in 1m4s
move openmct plugin to typescript
remove unused livestream test function
2024-03-08 17:08:43 -06:00

24 lines
607 B
JavaScript

import {merge} from 'webpack-merge';
import common from "./webpack.common.js"
import webpack from 'webpack'
const config = merge(common, {
mode: "development",
devtool: 'inline-source-map',
plugins: [
new webpack.EnvironmentPlugin({
NODE_ENV: "development",
BASE_URL: "http://localhost:8080"
}),
],
devServer: {
static: "./dist",
headers: {
"Access-Control-Allow-Origin": "*",
'Access-Control-Allow-Headers': '*',
'Access-Control-Allow-Methods': '*',
},
},
})
export default config