diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-12-01 14:34:23 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:45:41 +0100 |
commit | 887c9e05de88f81ed6f0cb88bd185c05b1a22076 (patch) | |
tree | 5fdd405133148fdba12ff6ea6a8cd9e4f27007d2 /webpack.common.js | |
parent | 36b6a7c77199d17c0147fc27cd0cc54a2b7d5020 (diff) | |
download | nextcloud-server-887c9e05de88f81ed6f0cb88bd185c05b1a22076.tar.gz nextcloud-server-887c9e05de88f81ed6f0cb88bd185c05b1a22076.zip |
Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index d1a07e10800..871218b8fa9 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -85,6 +85,11 @@ module.exports = { ]), }, { + test: /\.tsx?$/, + use: 'babel-loader', + exclude: BabelLoaderExcludeNodeModulesExcept([]), + }, + { test: /\.js$/, loader: 'babel-loader', // automatically detect necessary packages to @@ -163,7 +168,7 @@ module.exports = { // make sure to use the handlebar runtime when importing handlebars: 'handlebars/runtime', }, - extensions: ['*', '.js', '.vue'], + extensions: ['*', '.ts', '.js', '.vue'], symlinks: true, fallback: { buffer: require.resolve('buffer'), |