Skip to content

Commit

Permalink
chore: remove legacy references
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Feb 18, 2022
1 parent bc45de8 commit d27916f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 39 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
5 changes: 0 additions & 5 deletions app/assets/javascripts/typings/pug.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions app/views/application/app.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
23 changes: 0 additions & 23 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
},
],
},
};
Expand Down

0 comments on commit d27916f

Please sign in to comment.