egoist/poi


The issue has been solved
Can't use manifest.json #616
talentlessguy posted onGitHub
I have manifest.json
in the root directory, Poi sees it but can't compile it:
Error message
./manifest.json
Module parse failed: Unexpected token m in JSON at position 0 while parsing near 'module.exports = __w...'
File was processed with these loaders:
* ./node_modules/file-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
SyntaxError: Unexpected token m in JSON at position 0 while parsing near 'module.exports = __w...'
at JSON.parse (<anonymous>)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
du: cannot access 'dist': No such file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
HTML entrypoint
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="A guy who tries to combine tech and art" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta property="og:title" content="V!RTL" />
<meta property="og:image" type="image/png" content="https://i.ibb.co/b3KWtcj/bg.png" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="v1rtl.site" />
<link
href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,400i,500,700&display=swap"
rel="stylesheet"
/>
<link rel="manifest" href="manifest.json" />
<link rel="preconnect" href="https://api.github.com" />
<link rel="preconnect" href="https://images.ctfassets.net" />
<link rel="preconnect" href="https://dev.to" />
<link rel="icon" type="image/png" href="assets/icon.png" />
<script
src="https://instant.page/1.2.2"
type="module"
integrity="sha384-2xV8M5griQmzyiY3CDqh1dn4z3llDVqZDqzjzcY+jCBCk/a5fXJmuZ/40JJAPeoU"
></script>
<title>v 1 r t l</title>
</head>
<body>
<div id="app"></div>
<script src="index.js"></script>
</body>
</html>
So I have to use @poi/plugin-pwa
instead