webpack

new webpack.DefinePlugin({
            DESCRIPTION: 'This Is The Test Text.'
})
new webpack.ProvidePlugin({
    'React': 'react'
})
https://yuyang041060120.github.io/2016/05/05/webpack-defineplugin-and-provideplugin/
posted @ 2017-05-04 14:29  三剑客  阅读(171)  评论(0编辑  收藏  举报