Generate index.js instead of ol.js

This commit is contained in:
Andreas Hocevar
2018-01-29 16:58:04 +01:00
parent 64258a1ac4
commit e6036439f6
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -2,4 +2,4 @@
/coverage/
/dist/
/node_modules/
src/ol.js
src/index.js

View File

@@ -152,7 +152,7 @@ function main(callback) {
if (require.main === module) {
async.waterfall([
main,
fs.outputFile.bind(fs, path.join('src', 'ol.js'))
fs.outputFile.bind(fs, path.join('src', 'index.js'))
], function(err) {
if (err) {
process.stderr.write(err.message + '\n');