Closed as not planned
Description
Command
build, serve
Description
With the webpack builder I was able to do raw imports by using
require('!!rawloader!./somefile.ts').default
Seems I should be able to to the same with devkit/build-angular:application
too, by configuring a plugin in the options, but could not achieve it. Vilte seems to support it by appending ?raw
to the file path.
Describe the solution you'd like
Would be great to be able to useimport('raw!./somefile.ts')
or similar.
Describe alternatives you've considered
I checked the loader
option on the workspace config, but could not make it work for ts or html files. There seems to be an internal option to load plugins in the builder, but that's not accessible as a configuration option.
Metadata
Metadata
Assignees
Labels
No labels