We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd26d49 commit 043be3eCopy full SHA for 043be3e
webpack.core-adapter.js
@@ -0,0 +1,27 @@
1
+var webpack = require('webpack');
2
+module.exports = {
3
+ entry: {
4
+ "ui-router-core-adapter": "./src/legacy/core-adapter.js",
5
+ },
6
+
7
+ output: {
8
+ path: __dirname + "/release",
9
+ filename: "[name].js",
10
+ libraryTarget: "umd",
11
+ library: "@uirouter/core",
12
+ umdNamedDefine: true
13
14
15
+ resolve: {
16
+ extensions: ['', '.js', '.ts']
17
18
19
+ externals: {
20
+ "@uirouter/angularjs": {
21
+ root: '@uirouter/angularjs',
22
+ amd: '@uirouter/angularjs',
23
+ commonjs2: '@uirouter/angularjs',
24
+ commonjs: '@uirouter/angularjs'
25
+ }
26
27
+};
0 commit comments