Comments (6)
Got it. Thank you so much! Appreciate the help!
from dts-loader.
It looks like the tarball is broken, can you actually manually unzip the file?
from dts-loader.
Thanks for the reply. This is what I see in the browser when I try to launch the download link for the tarball.
But I can manually unzip the file.
from dts-loader.
That's an HTTP 404, was the correct URL http://localhost:7002/app2-dts.tgz
?
Can you try the following:
new WebpackRemoteTypePlugin({
remotes: {
app2: "app2@http://localhost:7002/"
}
})
All WebpackRemoteTypePlugin
need is an URL pointing to an entry to download the tarball, I should update the README
to make it more clear(apparently it's misleading atm)
from dts-loader.
The above solution works, thank you so much!! 😊
Is there a way we can serve the file from a different url, for example: http://localhost:7002/remote/app2-dts.tgz or is that currently not possible?
from dts-loader.
Depends on where you copy app2-dts.tgz
to, I cannot see your entire webpack config, but I suppose you have a script to make the tarball and copy it to the public path(dev server root/static folder), if you want to serve the file from /remote
, then you can just copy the tarball to /remote
folder
from dts-loader.
Related Issues (13)
- Example HOT 7
- export default support HOT 2
- Support for nested exposures HOT 4
- Support for React.forwardRef HOT 2
- Top level type declaration is not created HOT 2
- Are there plans to support Vue files? HOT 2
- Create types without dist folder
- Unexpected token } in JSON at position 226 HOT 1
- Include opt in tar functionality? HOT 2
- Include opt in tar functionality?
- Project loads the component but the typings still can't be found HOT 4
- Loader does not support exposed dependencies from node_modules 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 dts-loader.