diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 0bbe76d..412bd8c 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -12,7 +12,7 @@ */ import css from '../utils/css'; -import saveDialogueContents from 'html!./saveDialogue.html'; +import saveDialogueContents from './saveDialogue.html'; import ControllerFactory from '../controllers/ControllerFactory'; import Controller from '../controllers/Controller'; import BooleanController from '../controllers/BooleanController'; diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 83808ed..4a7a3b7 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -50,6 +50,10 @@ module.exports = { { test: /\.scss$/, loader: 'css-loader!sass-loader' + }, + { + test: /\.html$/, + loader: 'html-loader' } ] },