Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 81bc881

Browse files
committed
New template system
1 parent 1529799 commit 81bc881

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+405
-460
lines changed

.storybook/main.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ module.exports = {
2929
}
3030

3131
config.resolve.fallback.fs = false;
32-
config.resolve.alias.templates = path.resolve(__dirname, '../src/templates');
33-
34-
config.module.rules.push({
35-
test: /\.ejs$/,
36-
use: 'raw-loader',
37-
include: path.resolve(__dirname, '../src/templates')
38-
});
3932

4033
config.module.rules.push({
4134
test: /\.svg$/i,

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module.exports = {
66
},
77
transform: {
88
'\\.{jt}s$': 'ts-jest',
9-
'\\.ejs$': 'jest-raw-loader',
109
'\\.svg$': 'jest-raw-loader'
1110
},
1211
setupFilesAfterEnv: ['<rootDir>/jest-setup.ts']

package-lock.json

Lines changed: 30 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
},
8888
"dependencies": {
8989
"@popperjs/core": "^2.4.0",
90-
"ejs": "^3.1.6",
9190
"emojibase": "^6.1.0",
9291
"tiny-emitter": "^2.1.0",
9392
"tslib": "^2.0.0",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default bundles.map(bundle => ({
5252
}),
5353
nodeResolve(),
5454
commonjs({ browser: true }),
55-
string({ include: ['**/*.ejs', '**/*.svg']}),
55+
string({ include: ['**/*.svg']}),
5656
json(),
5757
typescript(),
5858
postcss({

0 commit comments

Comments
 (0)