Skip to content

Instantly share code, notes, and snippets.

@olvrng

olvrng/index.html

Last active Feb 3, 2021
Embed
What would you like to do?
<!doctype html>
<html lang="en">
<head>
<title>My little app</title>
</head>
<body>
<script type="module" src="myscript.js"></script>
</body>
</html>
import {snakeCase} from 'lodash';
const words: string[] = ['HelloWorld', 'left pad', 'ECMAScript'];
words.forEach(text => {
console.log(snakeCase(text));
});
// Snowpack Configuration File
// See all supported options: https://www.snowpack.dev/reference/configuration
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
/* ... */
},
plugins: [
/* ... */
],
packageOptions: {
source: 'remote', // the only line you need
},
devOptions: {
/* ... */
},
buildOptions: {
/* ... */
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment