5 ms·
How are you getting native ES modules to import from file:? When I try that, I get a cross-origin error. No two file: urls seem to be the same origin.
by recursive 5y ago
How are you getting native ES modules to import from file:? When I try that, I get a cross-origin error. No two file: urls seem to be the same origin.
- Joeri 5y agoI mean that when hosted as a static site you can do es6 imports by importing from a url for a file.