- 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.
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
let objectify = require('./objectifier')
|
|
|
|
module.exports = function processResult(result) {
|
|
if (console && console.warn) {
|
|
result.warnings().forEach(warn => {
|
|
let source = warn.plugin || 'PostCSS'
|
|
console.warn(source + ': ' + warn.text)
|
|
})
|
|
}
|
|
return objectify(result.root)
|
|
}
|