Skip to content

Commit 53bd5a3

Browse files
author
May Pongpitpitak
committed
Export dist file instead of source.
We shouldn't expect other projects to build angular-tootips since the build process is specific to the package like using annotation and so on. If this is required by a project that doesn't use annotation plugin, it will cause Angular to throw `strict di` error message. By exporting the dist file, it will be ready to use right away.
1 parent 7e11f7a commit 53bd5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(function commonJS(require, module) {
33
'use strict';
44

5-
require('./lib/angular-tooltips');
5+
require('./dist/angular-tooltips');
66

77
module.exports = '720kb.tooltips';
88
}(require, module));

0 commit comments

Comments
 (0)