forked from opensheetmusicdisplay/opensheetmusicdisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.dev.js
More file actions
17 lines (16 loc) · 789 Bytes
/
webpack.dev.js
File metadata and controls
17 lines (16 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var merge = require('webpack-merge')
var common = require('./webpack.common.js')
var webpack = require('webpack')
module.exports = merge(common, {
devtool: 'inline-source-map',
mode: 'development',
plugins: [
new webpack.EnvironmentPlugin({
STATIC_FILES_SUBFOLDER: false, // Set to other directory if NOT using webpack-dev-server
DEBUG: false,
OSMD_DEBUG_CONTROLS: true, // unfortunately, cross-env doesn't seem enough to set this in the demo when using npm start
OSMD_DEMO_TITLE: 'OpenSheetMusicDisplay Demo (Developer)',
DRAW_BOUNDING_BOX_ELEMENT: false // Specifies the element to draw bounding boxes for (e.g. 'GraphicalLabels'). If 'all', bounding boxes are drawn for all elements.
})
]
})