Comments (1)
This is how I fixed it, hope it helps
--- a/common/webpack.factory.ts
+++ b/common/webpack.factory.ts
@@ -8,7 +8,7 @@
import { resolve, join } from "path";
import fs from "fs";
-import { Configuration, DefinePlugin, Compiler, Options, ProvidePlugin } from "webpack";
+import { Plugin, Configuration, DefinePlugin, Compiler, Options, ProvidePlugin } from "webpack";
import { spawn, execSync } from "child_process";
import WebpackBar from "webpackbar";
import MiniCssExtractPlugin from "mini-css-extract-plugin";
@@ -355,7 +355,7 @@ function createDefaultSettings(
new MiniCssExtractPlugin({
filename: "[name].css"
})
- ].concat(process.env.BUILD_PLUGIN ? [] : [new WebpackPluginDone(pwd)])
+ ].concat(process.env.BUILD_PLUGIN ? [] : [new WebpackPluginDone(pwd)]) as Plugin[]
};
skipExternals.forEach((key) => {
from wp-react-starter.
Related Issues (20)
- How to add static assets (images)? HOT 2
- Error in ssh HOT 2
- i18n-frontend script slow HOT 2
- Feature suggestions HOT 2
- Yarn Directions HOT 1
- Redirect Loop when custom domain name is used. HOT 3
- some test fails when create plugin from create-wp-react-app HOT 3
- Example of extending the webpack config HOT 2
- Incompatible with php7.4
- Error in create-wp-react-app create-plugin HOT 1
- yarn build error! HOT 2
- How to use static assets inside SASS styles? HOT 2
- Bootstrap error with Composer 2 HOT 1
- commonUrlBuilder double url encoding of route params HOT 1
- "result.flat" is not a function error when starting the boilerplate containers. HOT 1
- Benefit from main file parts research HOT 1
- Incompatable with xdebug 3 HOT 1
- Empty plugin vendor dir HOT 3
- Incompatible with PHP 8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-react-starter.