mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
10 lines
304 B
JavaScript
10 lines
304 B
JavaScript
|
const DefinePlugin = require("webpack/lib/DefinePlugin");
|
||
|
|
||
|
|
||
|
export default function (config, env, helpers) {
|
||
|
// noinspection JSUnresolvedVariable
|
||
|
config.resolve.alias["react"] = "preact/compat";
|
||
|
// noinspection JSUnresolvedVariable
|
||
|
config.resolve.alias["react-dom"] = "preact/compat";
|
||
|
};
|