mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Precompile inline templates
Removing the in-browser compiler will save up to 30 kB (after minification + gzipping) and boost startup performance. Win!
This commit is contained in:
@@ -2,13 +2,7 @@
|
||||
|
||||
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||
|
||||
var app = new EmberApp({
|
||||
vendorFiles: {
|
||||
'handlebars.js': null
|
||||
}
|
||||
});
|
||||
|
||||
app.import('bower_components/ember/ember-template-compiler.js');
|
||||
var app = new EmberApp();
|
||||
|
||||
app.import('bower_components/bootstrap/dist/js/bootstrap.js');
|
||||
app.import('bower_components/spin.js/spin.js');
|
||||
|
Reference in New Issue
Block a user