Quellcode durchsuchen

fixed public path of frontend/webpack.config.js

Skylsmoi vor 5 Jahren
Ursprung
Commit
f1f5228c0b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      frontend/webpack.config.js

+ 2 - 2
frontend/webpack.config.js Datei anzeigen

30
   output: {
30
   output: {
31
     path: path.resolve(__dirname, 'dist/asset'),
31
     path: path.resolve(__dirname, 'dist/asset'),
32
     filename: 'tracim.app.entry.js',
32
     filename: 'tracim.app.entry.js',
33
-    pathinfo: !isProduction
34
-    // publicPath: '/'
33
+    pathinfo: !isProduction,
34
+    publicPath: '/asset/'
35
   },
35
   },
36
   devServer: {
36
   devServer: {
37
     contentBase: path.join(__dirname, 'dist/'),
37
     contentBase: path.join(__dirname, 'dist/'),