Comments (4)
Have you tried not passing any options to the DashboardPlugin constructor? When using the binary, it creates the dashboard instance for you, so you dont need to create an instance and pass the setData handler. Closing, let me know if this works out for you. If not, please reopen.
from webpack-dashboard.
This does work after removing all arguments - even having a port argument would cause it to fail.
Before the update, I noticed that error reports were properly syntax highlighted. With the new version it seems that they are non-colorized.
Seems like a pretty nitpicky thing, I was just curious if it was an intentional change or not.
from webpack-dashboard.
Arguments from dashboard or arguments from your webpack command? If you specify port you need to pass it with -p
to the dashboard bin, and then as { port: yourport } to the plugin constructor.
from webpack-dashboard.
Ah, yea I was just passing the port # to the constructor in my webpack.config.js. I did not realize that it needed to be passed to the bin as well. In the docs it reads as an either/or kind of thing.
from webpack-dashboard.
Related Issues (20)
- why the border of table is 'qqq..' or 'xx' like the photo HOT 5
- after installing this plugin getting heap out of memory error HOT 2
- The module of the dashboard is always loading; HOT 6
- Getting heap overflow HOT 2
- How to get more readable names of modules? HOT 2
- Debugging the version skews problem HOT 2
- webpack-dashboard has undeclared dependency on chalk
- webpack v5 with express: compiler.apply is not a function HOT 1
- Webpack 5 warning message conflict HOT 2
- Webpack5 Support HOT 4
- Bug: "Success" status overwritten and stuck in "Compiling" for finished webpack build. HOT 2
- Love
- TS7016: Could not find a declaration file for module 'webpack-dashboard/plugin' HOT 8
- Deps: Update all deps.
- TypeError: Cannot read property 'type' of null HOT 6
- TypeError thrown when running in minimal mode HOT 2
- Run webpack dashboard from .js file. HOT 5
- Investigate increasing Maintainer Productivity with Pull Requests Environments
- I can not find the .d.ts file when I use webpack.config.ts HOT 1
- README.md
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 webpack-dashboard.