export-loader
Version:
A webpack loader that allowes to write a Golang style exports.
21 lines • 389 B
JavaScript
let variableDeclaration = {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "data"
},
"init": {
"type": "Literal",
"value": "this is data",
"raw": "'this is data'"
}
}
],
"kind": "const"
}
module.exports = {
variableDeclaration
}