printer-notifications/node_modules/svelte-hmr/index.js
2023-11-13 16:10:04 -05:00

13 lines
350 B
JavaScript

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 }