Skip to content

Commit bb25f97

Browse files
authored
Remove HTML loader (codesandbox#416)
* Remove HTML loader * Fix loading screen
1 parent a9b99f5 commit bb25f97

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

packages/app/config/webpack.common.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ module.exports = {
115115
name: 'static/media/[name].[hash:8].[ext]',
116116
},
117117
},
118-
// "html" loader is used to process template page (index.html) to resolve
119-
// resources linked with <link href="./relative/path"> HTML tags.
120-
{
121-
test: /\.html$/,
122-
loader: 'html-loader',
123-
options: {
124-
attrs: ['link:href'],
125-
},
126-
},
127118
],
128119

129120
noParse: [/eslint\.4\.1\.0\.min\.js$/, /typescriptServices\.js$/],

packages/app/src/sandbox/status-screen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
// This is the loading screen
3-
import loadingHtml from './loading-screen.html';
3+
import loadingHtml from '!raw-loader!./loading-screen.html';
44

55
type LoadingScreen = {
66
type: 'loading',

0 commit comments

Comments
 (0)