Generate index.js instead of ol.js
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,4 +2,4 @@
|
||||
/coverage/
|
||||
/dist/
|
||||
/node_modules/
|
||||
src/ol.js
|
||||
src/index.js
|
||||
|
||||
@@ -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');
|
||||
Reference in New Issue
Block a user