Open aleclarson opened 5 years ago
Importing an asset that has no dedicated plugin should be transformed into a string that is exported by its module.
A simple example with a JSON module:
// main.js require('./data.json') // data.json {"hello": "world"}
transforms to:
// data.json module.exports = '{"hello": "world"}'
No sourcemap is generated.
Importing an asset that has no dedicated plugin should be transformed into a string that is exported by its module.
A simple example with a JSON module:
transforms to:
No sourcemap is generated.