@blockly/dev-scripts
Version:
Configuration and scripts for Blockly plugins.
32 lines (30 loc) • 528 B
JavaScript
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Webpack dev server configuration file.
* @author samelh@google.com (Sam El-Husseini)
*/
;
module.exports = () => {
return {
port: 'auto',
hot: true,
static: ['./test'],
watchFiles: {
paths: './',
options: {
ignored: 'node_modules',
},
},
open: true,
client: {
overlay: {
errors: true,
warnings: false,
},
},
};
};