mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Make build faster
This commit is contained in:
parent
6fe62060c6
commit
f6b5c704e8
@ -27,7 +27,7 @@
|
||||
"live": "live-server ./test/examples",
|
||||
"jison": "gulp jison_legacy",
|
||||
"live_server": "gulp live-server",
|
||||
"prepublishOnly": "yarn release && yarn test"
|
||||
"prepublishOnly": "yarn build && yarn release && yarn test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -26,6 +26,7 @@ export const webConfig = () => {
|
||||
rules: rules.concat([
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
@ -63,6 +64,7 @@ export const nodeConfig = () => {
|
||||
rules: rules.concat([
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user