- 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.
26 lines
471 B
JavaScript
26 lines
471 B
JavaScript
'use strict'
|
|
|
|
let Container = require('./container')
|
|
|
|
class AtRule extends Container {
|
|
constructor(defaults) {
|
|
super(defaults)
|
|
this.type = 'atrule'
|
|
}
|
|
|
|
append(...children) {
|
|
if (!this.proxyOf.nodes) this.nodes = []
|
|
return super.append(...children)
|
|
}
|
|
|
|
prepend(...children) {
|
|
if (!this.proxyOf.nodes) this.nodes = []
|
|
return super.prepend(...children)
|
|
}
|
|
}
|
|
|
|
module.exports = AtRule
|
|
AtRule.default = AtRule
|
|
|
|
Container.registerAtRule(AtRule)
|