Skip to content
Snippets Groups Projects
Commit b08986cf authored by echicken's avatar echicken :chicken:
Browse files

Initial commit

parent 0ee0588c
No related branches found
No related tags found
No related merge requests found
Pipeline #3610 canceled
{
"presets": [
"@babel/preset-env"
],
"inputSourceMap": true,
"sourceMaps": "inline"
}
\ No newline at end of file
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
insert_final_newline = true
module.exports = {
extends: [
'./node_modules/@swag/style',
],
};
{
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
\ No newline at end of file
#!/usr/bin/env node
// Bundle all SSJS files and output to build/bundle/ssjs/
require('esbuild').buildSync({
entryPoints: ['src/ssjs/index.ssjs'],
bundle: true,
write: true,
outdir: '.bundle/ssjs',
outExtension: { '.js': '.ssjs' },
loader: { '.ssjs': 'js' },
sourcemap: 'inline',
});
This diff is collapsed.
const something = {
a: 1,
b: 'two',
};
export default something;
import something from '../lib/some-lib.js';
writeln(something.a);
writeln(something.b);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment