Skip to content

Latest commit

 

History

History

typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

TypeScript Plugin

Find problems in your code on build step

Install

npm install -D @rambler-tech/razzle-typescript

or

yarn add -D @rambler-tech/razzle-typescript

Usage

Add the plugin to razzle.config.js

const TypeScriptPlugin = require('@rambler-tech/razzle-typescript')

module.exports = {
  plugins: [
    TypeScriptPlugin(),
  ],
  modifyWebpackConfig({webpackConfig}) {
    // ...
    return webpackConfig
  }
}