mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Separate release and dev builds of the online editor
Let `npm run build` do a release build and `npm run start` be used for development.
This commit is contained in:
parent
3647d1ba3b
commit
94fcb725b4
4 changed files with 21 additions and 5 deletions
10
tools/online_editor/webpack.dev.js
Normal file
10
tools/online_editor/webpack.dev.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const { merge } = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'development',
|
||||
devtool: 'inline-source-map',
|
||||
devServer: {
|
||||
contentBase: './dist',
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue