Commit c6d129a4 authored by jim's avatar jim

up pakage.json version

parent 856990a8
......@@ -2,7 +2,16 @@ const path = require('path');
export default {
entry: 'src/index.js',
extraBabelPlugins: [['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }]],
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
},
],
],
env: {
development: {
extraBabelPlugins: ['dva-hmr'],
......
import Rollbar from 'rollbar';
// Track error by rollbar.com
if (location.host === 'preview.pro.ant.design') {
if (window.location.host === 'preview.pro.ant.design') {
Rollbar.init({
accessToken: '033ca6d7c0eb4cc1831cf470c2649971',
captureUncaught: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment