File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
public/docs/_examples/webpack/ts/config Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ module.exports = {
62
62
// Workaround for angular/angular#11580
63
63
new webpack . ContextReplacementPlugin (
64
64
// The (\\|\/) piece accounts for path separators in *nix and Windows
65
- / a n g u l a r ( \\ | \/ ) c o r e ( \\ | \/ ) ( e s m ( \\ | \/ ) s r c | s r c ) ( \\ | \/ ) l i n k e r / ,
65
+ / a n g u l a r ( \\ | \/ ) c o r e ( \\ | \/ ) @ a n g u l a r / ,
66
66
helpers . root ( './src' ) , // location of your src
67
67
{ } // a map of your routes
68
68
) ,
Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ var helpers = require('./helpers');
6
6
7
7
module . exports = webpackMerge ( commonConfig , {
8
8
devtool : 'cheap-module-eval-source-map' ,
9
-
9
+
10
10
output : {
11
11
path : helpers . root ( 'dist' ) ,
12
- publicPath : 'http://localhost:8080 /' ,
12
+ publicPath : '/' ,
13
13
filename : '[name].js' ,
14
14
chunkFilename : '[id].chunk.js'
15
15
} ,
16
-
16
+
17
17
plugins : [
18
18
new ExtractTextPlugin ( '[name].css' )
19
19
] ,
20
-
20
+
21
21
devServer : {
22
22
historyApiFallback : true ,
23
23
stats : 'minimal'
24
24
}
25
25
} ) ;
26
- // #enddocregion
26
+ // #enddocregion
You can’t perform that action at this time.
0 commit comments