Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

Commit 1b68bef

Browse files
Revert "Do not include external modules in bundle"
1 parent 091aaa8 commit 1b68bef

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ module.exports = function (config) {
33
files: [
44
'node_modules/angular/angular.js',
55
'node_modules/pouchdb/dist/pouchdb.js',
6-
'node_modules/angular-pouchdb/dist/angular-pouchdb.js',
7-
'node_modules/ng-smart-id/dist/bundle.js',
86
'dist/bundle.js',
97
'node_modules/angular-mocks/angular-mocks.js',
108
'test/*.spec.js'

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-nav-data",
3-
"version": "4.0.2",
3+
"version": "4.0.0",
44
"description": "",
55
"main": "dist/bundle.js",
66
"scripts": {
@@ -12,11 +12,11 @@
1212
"author": "Patricia Garcia <[email protected]>",
1313
"license": "Apache 2.0",
1414
"dependencies": {
15-
"angular": "^1.5.5"
15+
"angular": "^1.5.5",
16+
"angular-pouchdb": "^4.0.0",
17+
"ng-smart-id": "fielded/ng-smart-id#4.0.3"
1618
},
1719
"devDependencies": {
18-
"angular-pouchdb": "^4.0.0",
19-
"ng-smart-id": "fielded/ng-smart-id#4.0.3",
2020
"angular-mocks": "^1.5.5",
2121
"babel-core": "^6.8.0",
2222
"babel-preset-es2015-rollup": "^1.1.1",

src/locations/locations.module.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import angular from 'angular'
2+
import 'ng-smart-id'
3+
import 'angular-pouchdb/dist/angular-pouchdb'
24

35
import LocationsService from './locations.service'
46
import LgasService from './lgas.service'

src/products/products.module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import angular from 'angular'
2+
import 'angular-pouchdb/dist/angular-pouchdb'
23

34
import ProductsService from './products.service'
45
import ProductListService from './product-list.service'

0 commit comments

Comments
 (0)