raw-loader Questions
6
Using webpack ^v2.2.1, I would like to import a TypeScript module as text, in addition to importing the same module "normally".
I've figured that I probably should use the raw-loader. But it isn't...
Diploblastic asked 6/3, 2017 at 17:15
3
I'm trying to include some WebGL vertex and fragment shaders by importing them as strings.
I have a project structure like this:
myproj/
src/
shad/
foo.frg
foo.vtx
shad.d.ts
Foo.ts
dist/
...
Seisin asked 31/5, 2020 at 3:22
1
What happened
I've just upgraded gatsby 2 -> 3.
Under the hood it now uses webpack 5 instead of 4 and now gives a dependency warning outstanding I just can't get rid of - raw-loader is installed...
Harar asked 3/9, 2021 at 15:39
1
In my angular project if we use the app is compiling and working fine if we use [email protected]. Whereas if we use version 2.0.0, application is not working. What would be the difference bet...
Chaste asked 5/6, 2019 at 3:41
0
I want to import a .js file as string with raw-loader, however the .js file is written with ES6 module, I want to compile and bundle the file with babel and webpack before import it by raw-loader.
...
Gradualism asked 31/8, 2018 at 8:14
3
So I want to do a very simple task using webpack.
I have a few static HTML templates like e.g.
test.html
<div><span>template content</span></div>
and all I want to do i...
Luftwaffe asked 1/8, 2016 at 7:4
0
Edit 2: The problem is not with webpack but with typescript. Something with declaring "*.md" as a module in a separate declaration file called *.d.ts
Edit: Confirmed the issue is not with webpac...
Avaunt asked 14/3, 2017 at 17:53
1
© 2022 - 2024 — McMap. All rights reserved.