chore: remove legacy references

This commit is contained in:
Mo 2022-02-18 07:35:27 -06:00
parent bc45de813d
commit d27916fc28
No known key found for this signature in database
GPG key ID: 034B13B1644297E1
6 changed files with 4 additions and 39 deletions

View file

@ -23,7 +23,6 @@ module.exports = {
self: {}, // fixes error happening on `import { SKAlert } from 'sn-stylekit'`
},
transform: {
'\\.(pug)$': '../../../node_modules/jest-transform-pug',
'^.+\\.(ts|tsx)?$': 'ts-jest',
'\\.svg$': 'svg-jest',
},

View file

@ -1,5 +0,0 @@
declare module "*.pug" {
import { compileTemplate } from 'pug';
const content: compileTemplate;
export default content;
}

View file

@ -15,8 +15,8 @@
<link color="#5bbad5" href="favicon/safari-pinned-tab.svg" rel="mask-icon"></link>
<meta name="theme-color" content="#ffffff">
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title"/>
<meta ng-bind="title" content="Standard Notes" name="application-name"/>
<meta content="Standard Notes" name="apple-mobile-web-app-title"/>
<meta content="Standard Notes" name="application-name"/>
<base href="/"></base>
<title>Notes · Standard Notes</title>

View file

@ -22,8 +22,8 @@
</link>
<meta name="theme-color" content="#ffffff">
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title" />
<meta ng-bind="title" content="Standard Notes" name="application-name" />
<meta content="Standard Notes" name="apple-mobile-web-app-title" />
<meta content="Standard Notes" name="application-name" />
<title>Dev · Notes · Standard Notes</title>
</head>

View file

@ -30,7 +30,6 @@
"@svgr/webpack": "^6.2.1",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.176",
"@types/pug": "^2.0.5",
"@types/react": "^17.0.31",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
@ -50,17 +49,12 @@
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.3.1",
"jest-transform-pug": "^0.1.0",
"lint-staged": ">=10",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.4.3",
"ng-cache-loader": "0.0.26",
"node-sass": "^6.0.1",
"prettier": "^2.5.0",
"pretty-quick": "^3.1.2",
"pug": "^3.0.2",
"pug-jest": "^1.0.1",
"pug-loader": "^2.4.0",
"sass-loader": "^12.2.0",
"serve-static": "^1.14.1",
"@standardnotes/stylekit": "5.7.0",

View file

@ -76,29 +76,6 @@ module.exports = (env) => {
test: /\.svg$/i,
use: ['@svgr/webpack'],
},
{
test: /\.html$/,
exclude: [path.resolve(__dirname, 'index.html')],
use: [
{
loader: 'ng-cache-loader',
options: {
prefix: 'templates:**',
},
},
],
},
{
test: /\.pug$/,
use: [
{
loader: 'apply-loader',
},
{
loader: 'pug-loader',
},
],
},
],
},
};