You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opensheetmusicdisplay: './src/index.ts',// Main index (OpenSheetMusicDisplay and other classes)
demo: './demo/index.js'// Demo index
},
output: {
path: path.resolve(__dirname,'build'),
filename: '[name].js',
library: 'opensheetmusicdisplay',
libraryTarget: 'umd'
},
resolve: {
// Add '.ts' and '.tsx' as a resolvable extension.
extensions: ['.ts','.tsx','.js']
},
module: {
rules: [
// all files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'
{
test: /\.ts$/,
loader: 'ts-loader',
// loader: 'awesome-typescript-loader',
exclude: /(node_modules|bower_components)/
}
]
},
plugins: [
newwebpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
}),
newwebpack.EnvironmentPlugin({
STATIC_FILES_SUBFOLDER: false,// Set to other directory if NOT using webpack-dev-server
DEBUG: false,
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.