Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Compiler.plugin was removed from webpack 5 #8

Open
moshner opened this issue Mar 17, 2021 · 0 comments
Open

Compiler.plugin was removed from webpack 5 #8

moshner opened this issue Mar 17, 2021 · 0 comments

Comments

@moshner
Copy link

moshner commented Mar 17, 2021

Resources:
Before submitting an issue, please consult our docs.

Stencil version: (run npm list @stencil/webpack from a terminal/cmd prompt and paste output below):

I'm submitting a ... (check one with "x")
Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

[x] bug report
[ ] feature request

Current behavior:
[webpack-cli] TypeError: compiler.plugin is not a function
at StencilPlugin.apply (C:\bitbucket\projects\ui\aafp-brand-components\node_modules@stencil\webpack\dist\index.js:14:18)

Expected behavior:
Build without errors

Steps to reproduce:
Upgrade to Webpack 5.26.3, possibly all of webpack 5. Use the 'new stencil.StencilPlugin(),' code as documented on the README.md of this repo

Related code:

insert any relevant code here

Other information:
webpack/webpack#11672

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant