framework/js/webpack.config.js
David Wheatley 3537f76eab
Update core to use new Webpack config, flarum-tsconfig, and build action (#2856)
* Update core to use new Webpack and TSConfig

* Bump webpack dep

* Update JS build action

* Copy custom `.d.ts` files to `dist-typings` folder on typings compile

* Run workflow against action v2

This allows us to have a moving tag, like first party actions have.

* Remove bundle analyzer from core

* Use webpack config 0.1.0-beta.16.2

* Add note about checking flarum-tsconfig
2021-05-13 00:28:17 +01:00

9 lines
174 B
JavaScript
Executable File

const config = require('flarum-webpack-config');
const merge = require('webpack-merge');
module.exports = merge(config(), {
output: {
library: 'flarum.core',
},
});