summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
blob: dc9726b3596b927d1e2efaf65b13cd1df8171811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const path = require('path')
const webpackConfig = require('@nextcloud/webpack-vue-config')

webpackConfig.entry['files-action'] = path.join(__dirname, 'src', 'files-action.js')
webpackConfig.entry['admin-settings'] = path.join(__dirname, 'src', 'admin-settings.js')

webpackConfig.module.rules.push({
	  test: /\.tsx?$/,
	  use: 'ts-loader',
	  exclude: /node_modules/,
})

webpackConfig.resolve.extensions = ['.js', '.vue', '.ts', '.tsx']

webpackConfig.resolve.fallback = {"fs": false}

module.exports = webpackConfig