.github
.husky
.vscode
packages
app
core
dev-test
src
test
data
fileTransformer.js
mockFetch.ts
mockLocalStorage.ts
setupEnv.js
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.prettierignore
.prettierrc
babel.config.js
jest.config.integration.js
jest.config.js
package.json
tsconfig.base.json
tsconfig.dev.json
tsconfig.json
webpack.config.js
demo
docs
.eslintignore
.gitattributes
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
lerna.json
nx.json
package.json
renovate.json
static-cms-icon.png
static-cms-logo.png
yarn.lock
10 lines
181 B
JavaScript
10 lines
181 B
JavaScript
![]() |
const path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
process(src, filename) {
|
||
|
return {
|
||
|
code: `module.exports = ${JSON.stringify(path.basename(filename))};`,
|
||
|
};
|
||
|
},
|
||
|
};
|