├── bower_components (contents not shown)├── bower.json├── dist (gulp puts build in here)│ ├── css│ │ └── bundle.css│ ├── index.html│ ├── scripts│ │ ├── bundle.js (bundled React components)│ └── web_components.html (Vulcanized file)├── gulpfile.babel.js├── index.js├── node_modules [contents not shown]├── package.json├── README.md└── src ├── components (React components in here] ├── index.html (main html file) ├── main.js ├── routes.js └── wc └── web_components.html (web component imports)http://localhost:9005/bower_components/web-animations-js/web-animations-next-lite.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
<script src="../../bower_components/web-animations-js/web-animations-next-lite.min.js"></script>
gulp.task('web_components', () => gulp.src(config.paths.webComponentIndex) .pipe(vulcanize({ abspath: config.paths.dist, excludes: [], inlineScripts: true, stripExcludes: false })) .pipe(gulp.dest(config.paths.dist)));