We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780c961 commit 931dcc9Copy full SHA for 931dcc9
index.js
@@ -1,8 +1,6 @@
1
const { relative } = require('path');
2
const { getOptions } = require('loader-utils');
3
-
4
-const makeHot = require('./lib/make-hot.js');
5
+const { makeHot } = require('./lib/make-hot.js');
6
const { compile, preprocess } = require('svelte/compiler');
7
8
const pluginOptions = {
lib/make-hot.js
@@ -9,4 +9,4 @@ const makeHot = createMakeHot({
9
hotApi,
10
});
11
12
-module.exports = makeHot;
+module.exports.makeHot = makeHot;
0 commit comments