Remove precompilation related codes (#414)
This commit is contained in:
parent
fb20b8adf7
commit
8d38fe56fd
4 changed files with 4 additions and 22 deletions
|
|
@ -1,10 +0,0 @@
|
|||
/* eslint no-console:0 */
|
||||
// This file is automatically compiled by Webpack, along with any other files
|
||||
// present in this directory. You're encouraged to place your actual application logic in
|
||||
// a relevant structure within app/javascript and only use these pack files to reference
|
||||
// that code so it'll be compiled.
|
||||
//
|
||||
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
|
||||
// layout file, like app/views/layouts/application.html.erb
|
||||
|
||||
console.log('Hello World from Webpacker')
|
||||
|
|
@ -25,10 +25,6 @@ Rails.application.config.assets.precompile += %w( favicon.ico )
|
|||
Rails.application.config.assets.precompile += %w( minimal.css )
|
||||
Rails.application.config.assets.precompile += %w( s3_direct_upload.css )
|
||||
Rails.application.config.assets.precompile += %w( base.js )
|
||||
Rails.application.config.assets.precompile += %w( packs/pack.js )
|
||||
Rails.application.config.assets.precompile += %w( packs/chat.js )
|
||||
Rails.application.config.assets.precompile += %w( pack.js )
|
||||
Rails.application.config.assets.precompile += %w( chat.js )
|
||||
Rails.application.config.assets.precompile += %w( s3_direct_upload.js )
|
||||
|
||||
Rails.application.config.assets.precompile += %w( lib/xss.js )
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
process.env.NODE_ENV = process.env.NODE_ENV || 'production'
|
||||
const environment = require('./environment');
|
||||
|
||||
const environment = require('./environment')
|
||||
|
||||
module.exports = environment.toWebpackConfig()
|
||||
module.exports = environment.toWebpackConfig();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
process.env.NODE_ENV = process.env.NODE_ENV || 'development'
|
||||
const environment = require('./environment');
|
||||
|
||||
const environment = require('./environment')
|
||||
|
||||
module.exports = environment.toWebpackConfig()
|
||||
module.exports = environment.toWebpackConfig();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue