Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
459 B
JavaScript
Executable File
20 lines
459 B
JavaScript
Executable File
// @ts-check
|
|
|
|
module.exports = function (opts) {
|
|
opts = opts || {}
|
|
var method = opts.method || 'replace'
|
|
return {
|
|
postcssPlugin: 'postcss-replace-overflow-wrap',
|
|
Declaration: {
|
|
'overflow-wrap': decl => {
|
|
decl.cloneBefore({ prop: 'word-wrap' })
|
|
if (method === 'replace') {
|
|
decl.remove()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports.postcss = true
|