0.1.3 • Published 5 years ago
ice-plugin-wrap-code v0.1.3
ice-plugin-wrap-code
Usage:
// ice.config.js
module.exports = {
plugins: [
['ice-plugin-wrap-code', {
addCodeBefore: 'console.log("some code before entry")',
addCodeAfter: 'console.log("some code after entry")',
}
]
}
// ice.config.js
module.exports = {
plugins: [
['ice-plugin-wrap-code', {
addCodeBefore: () => {
return 'console.log("some code before entry")';
},
}
]
}