remove webpack loader syntax from js

This commit is contained in:
Jeff Nusz 2016-09-01 13:35:40 -07:00
parent d84fef2ef9
commit 4fb2646502
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@
*/ */
import css from '../utils/css'; import css from '../utils/css';
import saveDialogueContents from 'html!./saveDialogue.html'; import saveDialogueContents from './saveDialogue.html';
import ControllerFactory from '../controllers/ControllerFactory'; import ControllerFactory from '../controllers/ControllerFactory';
import Controller from '../controllers/Controller'; import Controller from '../controllers/Controller';
import BooleanController from '../controllers/BooleanController'; import BooleanController from '../controllers/BooleanController';

View File

@ -50,6 +50,10 @@ module.exports = {
{ {
test: /\.scss$/, test: /\.scss$/,
loader: 'css-loader!sass-loader' loader: 'css-loader!sass-loader'
},
{
test: /\.html$/,
loader: 'html-loader'
} }
] ]
}, },