[question] mutiple entry points
See original GitHub issuelet’s say we have
var gulp = require('gulp');
var webpack = require('webpack-stream');
gulp.task('default', function() {
return gulp.src('src/entry.js')
.pipe(webpack({
entry: {
app: 'src/app.js',
test: 'test/test.js',
},
output: {
filename: '[name].js',
},
}))
.pipe(gulp.dest('dist/'));
});
It appears that entries will be ‘src/app.js’, ‘test/test.js’. However, I actually want ‘src/entry.js’ to be one of the entries.
Why can’t we concat the ‘src/entry’ with webpack config entry? It will be useful when we define vendor code like vendor: ["jquery", "underscore", ...]
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Helping All Learners: Entry Points | EL Education
Awareness of these entry points can be used by both teachers and students to increase motivation and learn multiple perspectives on the topic...
Read more >Multiple Entry Points Teaching Resources - TPT
Similar to a tic-tac-toe grid, this chart provides nine differentiated multiplication questions for your students. It is often used as an ...
Read more >How can I ensure multiple entry points for all students?
How can I ensure multiple entry points for all students? "Embedding the problem-solving information within a real-world context helps students activate their ...
Read more >Multiple Entry Points and Rich Math Tasks
Multiple Entry Points and Rich Math Tasks ... plan, make sense, look for entry points, reason, ask questions, make viable arguments, apply.
Read more >Multiple Entry Points and Intelligences - Aquila Education
The survey takes less than 5 minutes to complete, and asks a series of questions regarding how well you enjoy nature, interacting with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the exact same question. Does entry.js need to exist?
@shama, I think @ianwith’s question was with regards to the sample in the readme.
What is the significance of
gulp.src('src/entry.js')
while the entry property is set in the config?Could
src/entry.js
be anything? Does the file have to exist on the filesystem?