diff --git a/generate-hrir-base64.js b/generate-hrir-base64.js index 7c99f6d..3d4efa4 100644 --- a/generate-hrir-base64.js +++ b/generate-hrir-base64.js @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Google Inc. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const fs = require('fs'); const FOAHrirData = { diff --git a/package.json b/package.json index b153ee0..2f7079c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "webpack --progress --color", "build-all": "webpack --progress --color && webpack --config webpack.config.all.js --progress --color", - "build-hrir": "./build-hrir.sh && node generate-hrir-base64.js", + "build-hrir": "./generate-hrir-wave.sh && node generate-hrir-base64.js", "build-doc": "node_modules/.bin/jsdoc src/omnitone.js -d doc/", "eslint": "./node_modules/.bin/eslint src/*", "test": "node_modules/karma/bin/karma start", diff --git a/webpack.config.all.js b/webpack.config.all.js index 4f8f20a..62bec4f 100644 --- a/webpack.config.all.js +++ b/webpack.config.all.js @@ -39,6 +39,7 @@ module.exports = { }, plugins: [ new UglifyJSPlugin({ + sourceMap: true, uglifyOptions: { mangle: { // To address the 'let' bug in Safari 10. See: