mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
22 lines
384 B
JavaScript
22 lines
384 B
JavaScript
const {resolve} = require('path');
|
|
|
|
const config = {
|
|
lint: {
|
|
paths: ['src', 'examples', 'test'],
|
|
extensions: ['js']
|
|
},
|
|
|
|
alias: {
|
|
'react-map-gl/test': resolve('./test'),
|
|
'react-map-gl': resolve('./src')
|
|
},
|
|
|
|
entry: {
|
|
test: 'test/src/index.js',
|
|
'test-browser': 'test/browser.js',
|
|
size: 'test/size/import-nothing.js'
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|