Use ember-auto-import instead of ember-browserify

This commit is contained in:
2019-07-15 17:11:41 +02:00
parent 791943bb95
commit 636ac30622
7 changed files with 1920 additions and 746 deletions
+17
View File
@@ -12,6 +12,23 @@ module.exports = function(defaults) {
sourcemaps: {
enabled: true,
extensions: ['js']
},
autoImport: {
webpack: {
module: {
rules: [
{
// inline json files instead of using fs.readFileSync
enforce: 'post',
test: /kosmos-schemas\/index\.js$/,
loader: 'transform-loader?brfs'
}
]
},
node: {
path: "empty" // needed for kosmos-schemas dependency
}
}
}
});