Create synapse-admin using 'rekit create --sass synapse-admin'

Change-Id: I14a94754264c83faffb7fea5099d37c97e60b07a
This commit is contained in:
Manuel Stahl
2019-02-07 12:47:18 +01:00
parent 427e91d123
commit 00d6959927
93 changed files with 3034 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
'use strict';
// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process() {
return 'module.exports = {};';
},
getCacheKey() {
// The output is always the same.
return 'cssTransform';
},
};
+12
View File
@@ -0,0 +1,12 @@
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};