mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-21 01:06:43 +02:00
Make build faster
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user