resolve.input.js 342 B

1234567891011121314151617181920
  1. import path from 'path';
  2. export default [{
  3. resolve: {
  4. root: path.resolve('/src')
  5. }
  6. }, {
  7. resolve: {
  8. root: [path.resolve('/src')]
  9. }
  10. }, {
  11. resolve: {
  12. root: [path.resolve('/src'), 'node_modules']
  13. }
  14. }, {
  15. resolve: {
  16. root: path.resolve('/src'),
  17. modules: ['node_modules']
  18. }
  19. }];