From 21348b469cde6d494817a3813a27e71cdc266ef7 Mon Sep 17 00:00:00 2001 From: Mu-An Chiou Date: Thu, 30 Apr 2020 12:59:14 -0400 Subject: [PATCH] Rename browser.js to bundle.js so the purpose is clearer --- README.md | 2 +- examples/index.html | 4 ++-- rollup.config.js | 2 +- test/karma.config.cjs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 31c5ec2..29881fa 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ import '@github/auto-complete-element' With a script tag: ```html - + + diff --git a/rollup.config.js b/rollup.config.js index 61111ad..c51cceb 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -23,7 +23,7 @@ export default [ { input: 'src/index.js', output: { - file: 'dist/browser.js', + file: 'dist/bundle.js', format: 'es' }, plugins: [ diff --git a/test/karma.config.cjs b/test/karma.config.cjs index d7fe02a..ea1b77d 100644 --- a/test/karma.config.cjs +++ b/test/karma.config.cjs @@ -16,7 +16,7 @@ function completer(request, response, next) { module.exports = function(config) { config.set({ frameworks: ['mocha', 'chai'], - files: [{pattern: '../dist/browser.js', type: 'module'}, {pattern: 'test.js', type: 'module'}], + files: [{pattern: '../dist/bundle.js', type: 'module'}, {pattern: 'test.js', type: 'module'}], reporters: ['mocha'], port: 9876, colors: true,