Skip to content
Snippets Groups Projects
  1. Jun 13, 2017
  2. Jun 11, 2017
  3. Jun 01, 2017
    • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
      Resolve custom application stylesheet with Webpack (#3373) · e98559c3
      Akihiko Odaki (@fn_aki@pawoo.net) authored
      This implementation is a bit smaller and still has the following benefits:
      
      * No need of app/javascript/packs/custom.js
      For custom stylesheet, it typically has only
      "require('../styles/custom.scss')" and is redundant.
      
      * No need to extract vendor stylesheet to another asset
      Extracting vendor stylesheet could be forgotten by developers who do not
      use custom stylesheet.
      e98559c3
  4. May 30, 2017
    • Naouak's avatar
      Fix webpack building on Windows (#3426) · 499cc7b8
      Naouak authored
      * Path should not be constructed manually. Use path.join to ensure compatibility.
      
      * Path should not be constructed manually. Use path.join to ensure compatibility.
      
      * Fix regexp.
      
      * Fix my own stupidity.
      I forgot to check outside my test script the regexp...
      499cc7b8
  5. May 27, 2017
    • Eugen Rochko's avatar
      Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332) · 62ca3788
      Eugen Rochko authored
      * Fix #2922 - Load stylesheet from "custom.css" entrypoint when present
      
      This is pretty much the same way it worked as before, albeit with
      having to create app/javascript/packs/custom.js with
      require('../styles/custom.scss') (or whatever you want really), which
      will be a blank slate for you to import whatever you want
      
      * Remove old assets directory
      
      * Extract font-awesome into common.css and always load it
      62ca3788
  6. May 22, 2017
  7. May 20, 2017
    • Yamagishi Kazutoshi's avatar
      Improve eslint rules (#3147) · 2e112e24
      Yamagishi Kazutoshi authored
      * Add semi to ESLint rules
      
      * Add padded-blocks to ESLint rules
      
      * Add comma-dangle to ESLint rules
      
      * add config/webpack and storyboard
      
      * add streaming/
      
      * yarn test:lint -- --fix
      2e112e24
  8. May 15, 2017
    • Akihiko Odaki's avatar
      Introduce common JavaScript file (#2981) · 85c94963
      Akihiko Odaki authored
      * Create common chunk rather than vendor chunk
      
      vendor chunk is a set of modules provided by external vendors, but now we
      can have a chunk as a set of modules shared by multiple entry points,
      which could be more efficent than having vendor chunk.
      
      * Start rails-ujs in common.js
      
      This is used by /settings/two_factor_authentication.
      85c94963
  9. May 06, 2017
  10. May 03, 2017
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      Eugen Rochko authored
      * Replace browserify with webpack
      
      * Add react-intl-translations-manager
      
      * Do not minify in development, add offline-plugin for ServiceWorker background cache updates
      
      * Adjust tests and dependencies
      
      * Fix production deployments
      
      * Fix tests
      
      * More optimizations
      
      * Improve travis cache for npm stuff
      
      * Re-run travis
      
      * Add back support for custom.scss as before
      
      * Remove offline-plugin and babili
      
      * Fix issue with Immutable.List().unshift(...values) not working as expected
      
      * Make travis load schema instead of running all migrations in sequence
      
      * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
      React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
      <UI />
      
      * Add react definitions to places that use JSX
      
      * Add Procfile.dev for running rails, webpack and streaming API at the same time
      f5bf5ebb
Loading