aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/webpack.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/webpack.js')
-rw-r--r--apps/files/webpack.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files/webpack.js b/apps/files/webpack.js
new file mode 100644
index 00000000000..4007722031b
--- /dev/null
+++ b/apps/files/webpack.js
@@ -0,0 +1,13 @@
+const path = require('path');
+
+module.exports = {
+ entry: {
+ 'sidebar': path.join(__dirname, 'src', 'sidebar.js'),
+ },
+ output: {
+ path: path.resolve(__dirname, './js/dist/'),
+ publicPath: '/js/',
+ filename: '[name].js',
+ chunkFilename: 'files.[id].js'
+ }
+}