add separate entry point for fonts as its messing up the js bundle (#2485)
This commit is contained in:
parent
c291edfc44
commit
88fc961559
@ -7,7 +7,8 @@ const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
mode: "production",
|
mode: "production",
|
||||||
entry: {
|
entry: {
|
||||||
"excalidraw.min": ["./index.tsx", "../../../public/fonts.css"],
|
"excalidraw.min": "./index.tsx",
|
||||||
|
"fonts.min": "../../../public/fonts.css",
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user