mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 03:47:41 +08:00

Aliasing was only working for the `src` directory, it would not find modules in the `lib` directory. Therefore the easiest way to migrate will be to remove the prefix manually from import statements.
11 lines
298 B
Markdown
Executable File
11 lines
298 B
Markdown
Executable File
**Webpack config for Flarum JavaScript compilation.**
|
|
|
|
This package generates a [Webpack](https://webpack.js.org) config object that will compile JavaScript for use in Flarum. Example usage:
|
|
|
|
```js
|
|
// webpack.config.js
|
|
var config = require('flarum-webpack-config');
|
|
|
|
module.exports = config();
|
|
```
|