Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mastodonのフロントエンド実装 / Frontend of Mastodon

Mastodonのフロントエンド実装 / Frontend of Mastodon

Frontend Conference Fukuoka 2018 (https://frontend-conf.fukuoka.jp/) で話した内容になります。

Yamagishi Kazutoshi

December 08, 2018
Tweet

More Decks by Yamagishi Kazutoshi

Other Decks in Technology

Transcript

  1. // config/webpack/production.js process.env.NODE_ENV = process.env.NODE_ENV || 'production' const environment =

    require('./environment') module.exports = environment.toWebpackConfig()
  2. // config/webpack/environment.js (custom) const { environment } = require('@rails/webpacker') environment.config

    .set('resolve.extensions', ['.ts', '.js']) environment.loaders .append('ts', { test: /\.ts$/, use: 'ts-loader' }) module.exports = environment