Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit 898bc58

Browse files
committed
solve some warning, for example with webpack and localforage.
1 parent 491e600 commit 898bc58

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

conf/webpack-dist.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ var DeclarationBundlerPlugin = require('declaration-bundler-webpack-plugin');
1010

1111
module.exports = {
1212
module: {
13+
// https://github.com/localForage/localForage#browserify-and-webpack
14+
noParse: /node_modules\/localforage\/dist\/localforage.js/,
15+
1316
loaders: [
1417
{
1518
test: /\.ts$/,

conf/webpack-test.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
module.exports = {
22
module: {
3+
// https://github.com/localForage/localForage#browserify-and-webpack
4+
noParse: /node_modules\/localforage\/dist\/localforage.js/,
5+
36
preLoaders: [
47
{
58
test: /\.ts$/,

conf/webpack.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const autoprefixer = require('autoprefixer');
77

88
module.exports = {
99
module: {
10+
// https://github.com/localForage/localForage#browserify-and-webpack
11+
noParse: /node_modules\/localforage\/dist\/localforage.js/,
12+
1013
preLoaders: [
1114
{
1215
test: /\.ts$/,

src/library/resource.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export class Resource implements IResource, IService {
2626

2727
private path: string; // without slashes
2828
public smartfiltertype = 'undefined';
29-
private tempororay_collection: ICollection;
3029

3130
public clone(): any {
3231
var cloneObj = new (<any>this.constructor)();

0 commit comments

Comments
 (0)