mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Migrate from flow to typescript
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
/* eslint-env node */
|
||||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const supportedLocales = require('./src/i18n');
|
||||
const vendor = Object.keys(require('./package.json').dependencies);
|
||||
|
||||
const isProduction = process.argv.some(arg => arg === '-p');
|
||||
const supportedLocales = require('./src/i18n/index.json');
|
||||
const isTest = process.argv.some(arg => arg.indexOf('karma') !== -1);
|
||||
|
||||
process.env.NODE_ENV = 'development';
|
||||
|
Reference in New Issue
Block a user