Remove %> from document

pull/524/head
Rick Carlino 2017-11-02 11:21:15 -05:00
parent 5dde381c81
commit 3f9a1d0b8b
2 changed files with 2 additions and 17 deletions

View File

@ -10,7 +10,7 @@ window.globalConfig = <%= raw($FRONTEND_SHARED_DATA) %> // SEE COMMENTS!;
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i" rel="stylesheet">
<%# <%= Rails.env.production? ? javascript_include_tag(*webpack_asset_paths("new_commons")) : "" %> %>
<%# Rails.env.production? ? javascript_include_tag(*webpack_asset_paths("new_commons")) : "" %>
<% if false %>
<script async src="http://<%= ENV["API_HOST"] %>:8080/target/target-script-min.js#anonymous">
</script>

View File

@ -17,22 +17,7 @@ conf.output = {
};
[
// new webpack.optimize.CommonsChunkPlugin({
// name: "new_commons",
// chunks: [
// "new_bundle",
// "front_page",
// "verification",
// "password_reset",
// "tos_update"
// ],
// async: true,
// minChunks: ({ resource }) => (
// resource &&
// resource.indexOf('node_modules') >= 0 &&
// resource.match(/\.js$/)
// ),
// }),
w
new ExtractTextPlugin({
// Temporary hotfix for some issues on staging.
// - RC 12 MAY 17