Skip to content

Commit 58dc86d

Browse files
authored
tweaking example
1 parent c1fbbf3 commit 58dc86d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ class Encore {
397397
* const nodeExternals = require('webpack-node-externals');
398398
*
399399
* Encore.addExternals(
400-
* nodeExternals()
400+
* // add any valid externals you have
401+
* nodeExternals(),
402+
* /^(jquery|\$)$/i
401403
* );
402404
*
403405
* @param {*} externals

0 commit comments

Comments
 (0)