Comments (3)
@ekulabuhov Actually all the different config has own implementation. It might seem that this is a UI only thing, but it is actually related to how Webpack is able to combine your code with loaders on the server. So pretty much every loader needs to be verified, as some of them needs to be loaded into memory and need special options. Like Babel loader even has a hack on it to make it understand the cross filesystem vs in memory file system correctly. Even before looking into that they would also have to be part of Webpackbin package.json dependencies. So there is quite a bit of pre configuring to enable these loaders :)
But please, if you want to experiment and see how far you can take it, please do :)
from webpackbin.
Thanks! I've opened this before chatting to you on Discord.
I wonder why do you need to load the loaders into memory? Is that connected to Heroku not having persistent FS?
So at the moment whenever a new version of the loader is released you have to update it manually?
Also, on package.json, that NPM manager that you have built in into UI: is it able to load devDependencies
or only project dependencies
?
from webpackbin.
-
It has to be loaded into memory because the files of your bin runs in memory :) Did we talk about some loaders passing content of file and others path? Anyways, not exactly sure why it works like this, but I get errors when not loading some of them into memory
-
Yes, I have to install and verify manually. Also meet problems with for example latest TS-loader, due to TS 2.2 or something... though that seems general. It has some new config file that is difficult to point correctly to due to this FS/In memory thing
-
Currently this just shoves them into
dependencies
, though does not really matter to the service. This is rather related to when you download the bin :)
I have been experimenting with this for quite some time and I start to realise that the service gives an impression of being exactly like a local environment with a config file :) Though there are many hacks and hoops to make it work. But the service does work :D I hope when it hits enough users that it might get some attention by the webpack team, maybe we can find better ways to handle it
from webpackbin.
Related Issues (20)
- Error on bin - but runs ok after downloading HOT 4
- Feature request - switch to Monaco Editor HOT 6
- Old webpackbin down HOT 4
- Local instance not loading HOT 5
- Load .vue files from node_modules HOT 1
- Where is cerebral-provider-firebase source code ? HOT 1
- Module not found: Error Can't resolve
- Failed to decode downloaded font HOT 1
- console.log prints only first argument
- Impossible to recover after: 413 Payload Too Large HOT 1
- feature-request: "Tidy" like in jsfiddle and "Collapse" like in plnkr HOT 1
- Meta Language support in .vue files HOT 2
- Can not initialize state directly as a class property without forcing no linting - React HOT 1
- Typescript Starter: 'ERROR: ModuleBuildError' HOT 7
- Feature request: add svg-sprite-loader HOT 1
- Cannot add or remove from Favorites HOT 1
- ERR_CERT_AUTHORITY_INVALID: cannot load sandbox preview
- Errors on React Boilerplate App HOT 1
- Webpackbin site is down / domain registration HOT 2
- webpackbin.com is down HOT 4
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 webpackbin.