Browse Source

fixed public path of frontend/webpack.config.js

Skylsmoi 6 years ago
parent
commit
f1f5228c0b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frontend/webpack.config.js

+ 2 - 2
frontend/webpack.config.js View File

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/'),