From ec5b278fca848172cb505793628aaf8a27406292 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Thu, 21 Jan 2016 16:36:12 -0600 Subject: PLT-7 fixing dist build --- Makefile | 2 ++ web/react/pages/login.jsx | 2 -- web/templates/head.html | 3 +++ web/web.go | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 062d956b9..cf64e8861 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,8 @@ package: mkdir -p $(DIST_PATH)/web/static/js cp -L web/static/js/*.min.js $(DIST_PATH)/web/static/js/ cp -L web/static/js/*.min.js.map $(DIST_PATH)/web/static/js/ + cp -RL web/static/js/react-intl-2.0.0-beta-2 $(DIST_PATH)/web/static/js/ + cp -RL web/static/i18n $(DIST_PATH)/web/static cp -RL web/static/config $(DIST_PATH)/web/static cp -RL web/static/css $(DIST_PATH)/web/static cp -RL web/static/fonts $(DIST_PATH)/web/static diff --git a/web/react/pages/login.jsx b/web/react/pages/login.jsx index e0957a65b..38852ad7c 100644 --- a/web/react/pages/login.jsx +++ b/web/react/pages/login.jsx @@ -5,8 +5,6 @@ import * as Client from '../utils/client.jsx'; import Login from '../components/login.jsx'; var IntlProvider = ReactIntl.IntlProvider; -ReactIntl.addLocaleData(ReactIntlLocaleData.en); -ReactIntl.addLocaleData(ReactIntlLocaleData.es); class Root extends React.Component { constructor() { diff --git a/web/templates/head.html b/web/templates/head.html index 89d0dc92b..feff908ce 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -58,6 +58,9 @@