printer-notifications/node_modules/svelte-hmr/index.js

13 lines
350 B
JavaScript
Raw Normal View History

2023-11-13 21:10:04 +00:00
const createMakeHotFactory = require('./lib/make-hot.js')
const { resolve } = require('path')
const { name, version } = require('./package.json')
const resolveAbsoluteImport = target => resolve(__dirname, target)
const createMakeHot = createMakeHotFactory({
pkg: { name, version },
resolveAbsoluteImport,
})
module.exports = { createMakeHot }