- Add npm scripts for CSS/JS compilation (build:css, build:js, build) - Create PowerShell build automation script - Document development workflow in README - Add troubleshooting guide for build issues - Specify proper file structure and compilation process Supports Tailwind CSS v3.4.0 and esbuild bundling with source maps.
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
// eslint-disable-next-line n/no-deprecated-api
|
|
const { createRequire, createRequireFromPath } = require('module')
|
|
|
|
function req (name, rootFile) {
|
|
const create = createRequire || createRequireFromPath
|
|
const require = create(rootFile)
|
|
return require(name)
|
|
}
|
|
|
|
module.exports = req
|