mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: remove service worker for now
This commit is contained in:
parent
5bcc3914fd
commit
f2eaad8140
2 changed files with 9 additions and 18 deletions
23
angular.json
23
angular.json
|
|
@ -27,9 +27,7 @@
|
|||
"base": "dist"
|
||||
},
|
||||
"index": "src/index.html",
|
||||
"polyfills": [
|
||||
"src/polyfills.ts"
|
||||
],
|
||||
"polyfills": ["src/polyfills.ts"],
|
||||
"tsConfig": "src/tsconfig.app.json",
|
||||
"preserveSymlinks": true,
|
||||
"assets": [
|
||||
|
|
@ -43,9 +41,7 @@
|
|||
"webWorkerTsConfig": "src/tsconfig.worker.json",
|
||||
"browser": "src/main.ts",
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
"."
|
||||
]
|
||||
"includePaths": ["."]
|
||||
}
|
||||
},
|
||||
"configurations": {
|
||||
|
|
@ -60,8 +56,7 @@
|
|||
"extractLicenses": false,
|
||||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": false,
|
||||
"serviceWorker": true
|
||||
"aot": false
|
||||
},
|
||||
"production": {
|
||||
"baseHref": "",
|
||||
|
|
@ -89,8 +84,7 @@
|
|||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"serviceWorker": false
|
||||
"extractLicenses": true
|
||||
},
|
||||
"productionWeb": {
|
||||
"budgets": [
|
||||
|
|
@ -117,8 +111,7 @@
|
|||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"serviceWorker": true
|
||||
"extractLicenses": true
|
||||
},
|
||||
"stage": {
|
||||
"baseHref": "",
|
||||
|
|
@ -146,8 +139,7 @@
|
|||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"serviceWorker": false
|
||||
"extractLicenses": true
|
||||
},
|
||||
"stageWeb": {
|
||||
"budgets": [
|
||||
|
|
@ -174,8 +166,7 @@
|
|||
"sourceMap": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"serviceWorker": true
|
||||
"extractLicenses": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import chrono from 'chrono-node';
|
||||
import { casual } from 'chrono-node';
|
||||
import { Task, TaskCopy } from './task.model';
|
||||
import { getWorklogStr } from '../../util/get-work-log-str';
|
||||
import { stringToMs } from '../../ui/duration/string-to-ms.pipe';
|
||||
|
|
@ -13,7 +13,7 @@ const CH_TAG = '#';
|
|||
const CH_DUE = '@';
|
||||
const ALL_SPECIAL = `(\\${CH_PRO}|\\${CH_TAG}|\\${CH_DUE})`;
|
||||
|
||||
const customDateParser = chrono.casual.clone();
|
||||
const customDateParser = casual.clone();
|
||||
|
||||
const SHORT_SYNTAX_PROJECT_REG_EX = new RegExp(`\\${CH_PRO}[^${ALL_SPECIAL}]+`, 'gi');
|
||||
const SHORT_SYNTAX_TAGS_REG_EX = new RegExp(`\\${CH_TAG}[^${ALL_SPECIAL}|\\s]+`, 'gi');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue