Commit aaf03c0c authored by Phil Hughes's avatar Phil Hughes

correctly imports performance bar

parent adf31a57
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
= webpack_bundle_tag "main" = webpack_bundle_tag "main"
= webpack_bundle_tag "raven" if current_application_settings.clientside_sentry_enabled = webpack_bundle_tag "raven" if current_application_settings.clientside_sentry_enabled
= webpack_bundle_tag "test" if Rails.env.test? = webpack_bundle_tag "test" if Rails.env.test?
= webpack_bundle_tag 'performance_bar' if performance_bar_enabled?
- if content_for?(:page_specific_javascripts) - if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts = yield :page_specific_javascripts
......
...@@ -85,7 +85,6 @@ var config = { ...@@ -85,7 +85,6 @@ var config = {
test: './test.js', test: './test.js',
two_factor_auth: './two_factor_auth.js', two_factor_auth: './two_factor_auth.js',
users: './users/index.js', users: './users/index.js',
performance_bar: './performance_bar.js',
webpack_runtime: './webpack.js', webpack_runtime: './webpack.js',
}, },
...@@ -119,9 +118,9 @@ var config = { ...@@ -119,9 +118,9 @@ var config = {
{ {
test: /\_worker\.js$/, test: /\_worker\.js$/,
use: [ use: [
{ {
loader: 'worker-loader', loader: 'worker-loader',
options: { options: {
inline: true inline: true
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment