Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 22950ac

Browse files
Axel PeterAxelPeter
authored andcommitted
fix: restore bundled dependencies
1 parent d1c495e commit 22950ac

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

build/webpack.dist.config.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ const webpack = require("webpack");
66
module.exports = merge(baseConfig, {
77
mode: "production",
88
devtool: "source-map",
9-
externals: {
10-
clipboard: "clipboard",
11-
"escape-string-regexp": "escape-string-regexp",
12-
flatpickr: "flatpickr",
13-
"popper.js": "popper.js"
14-
},
9+
10+
// Preparation for v3: Will not bundled the dependencies in oui-angular.js
11+
// externals: {
12+
// clipboard: "clipboard",
13+
// "escape-string-regexp": "escape-string-regexp",
14+
// flatpickr: "flatpickr",
15+
// "popper.js": "popper.js"
16+
// },
1517
output: {
1618
path: path.resolve(".", "dist"),
1719
filename: "oui-angular.min.js"

0 commit comments

Comments
 (0)