TeamsModule moved to old repos
This commit is contained in:
1 parent
2814d4307b
commit
8bf22b6bde
210 files changed
No files matched your search
@@ -0,0 +1,25 @@
|
||||
const pathConfig = require('./webpack.path.config')
|
||||
|
||||
module.exports = {
|
||||
context: pathConfig.context,
|
||||
|
||||
entry: ['babel-polyfill', './src/index.js'],
|
||||
|
||||
module: {
|
||||
rules: [
|
||||
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' },
|
||||
{
|
||||
test: /\.(png|svg|jpg|gif)$/,
|
||||
use: [{ loader: 'file-loader' }
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: 'babel-loader'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
const path = require('path')
|
||||
|
||||
const context = path.resolve(__dirname, '../../..')
|
||||
|
||||
module.exports = {
|
||||
context
|
||||
}
|
||||
Reference in new issue
Block a user