UNPKG

theme-ui

Version:
17 lines (13 loc) 852 B
"use strict"; // this file might look strange and you might be wondering what it's for // it's lets you import your source files by importing this entrypoint // as you would import it if it was built with preconstruct build // this file is slightly different to some others though // it has a require hook which compiles your code with Babel // this means that you don't have to set up @babel/register or anything like that // but you can still require this module and it'll be compiled // this bit of code imports the require hook and registers it let unregister = require("../../../node_modules/.pnpm/@preconstruct+hook@0.4.0/node_modules/@preconstruct/hook").___internalHook(typeof __dirname === 'undefined' ? undefined : __dirname, "../../..", ".."); // this re-exports the source file module.exports = require("../src/index.ts"); unregister();