]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/webpack/common.js
Remove fixed relative path for assets
[github/wallabag/wallabag.git] / app / config / webpack / common.js
index 1ef193c7f468ab8a2b1d1c21de2937b6117211e7..233497fd7b8ce1eb29cd81d23e63898f0b781181 100644 (file)
@@ -9,11 +9,12 @@ module.exports = function () {
     entry: {
       material: path.join(rootDir, './app/Resources/static/themes/material/index.js'),
       baggy: path.join(rootDir, './app/Resources/static/themes/baggy/index.js'),
+      public: path.join(rootDir, './app/Resources/static/themes/_global/share.js'),
     },
     output: {
       filename: '[name].js',
-      path: path.resolve(rootDir, 'web/bundles/wallabagcore'),
-      publicPath: '/bundles/wallabagcore/',
+      path: path.resolve(rootDir, 'web/wallassets'),
+      publicPath: '',
     },
     plugins: [
       new webpack.ProvidePlugin({