From 4fb2646502f13ef0d8171226f72077e702f77290 Mon Sep 17 00:00:00 2001 From: Jeff Nusz Date: Thu, 1 Sep 2016 13:35:40 -0700 Subject: [PATCH] remove webpack loader syntax from js --- src/dat/gui/GUI.js | 2 +- webpack/webpack.config.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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' } ] },