Skip to content

Commit

Permalink
fix: rename assets to images
Browse files Browse the repository at this point in the history
  • Loading branch information
KonnorRogers committed Oct 7, 2020
1 parent 424cdc5 commit f106fa9
Show file tree
Hide file tree
Showing 27 changed files with 18 additions and 46 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import * as _controllersHello_world_controllerHello_world_controllerJs from "../
import JS from "../javascript/index.js";
import * as channels from "../channels/index.js";
import "../stylesheets/index.css";
import jsonFile from "../assets/x.json.proxy.js";
import logo from "../assets/logo.svg";
import SmallHouse from "../assets/small-house.png";
import "../assets/other-images/further-nested/nested-image.jpg";
import jsonFile from "../data/x.json.proxy.js";
import logo from "../images/logo.svg";
import SmallHouse from "../images/small-house.png";
import "../images/other-images/further-nested/nested-image.jpg";
import styles from "../stylesheets/button.module.css"; // Stimulus

import { parseControllerName } from "../javascript/parseControllerName.js";
Expand Down

This file was deleted.

Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion __tests__/examples/example_dir/build/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>Testing 1 2</title>
<link href="/css/application-f5ebf47f.css" rel="stylesheet"><script src="/entrypoints/application-ba13ddb2.js" type="module"></script>
<link href="/css/application-f5ebf47f.css" rel="stylesheet"><script src="/entrypoints/application-17bd0644.js" type="module"></script>
</head>
<body>
<div data-controller="hello-world"></div>
Expand Down
16 changes: 4 additions & 12 deletions __tests__/examples/example_dir/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"entrypoints/application.js": "/entrypoints/application-ba13ddb2.js",
"entrypoints/application.js": "/entrypoints/application-17bd0644.js",
"entrypoints": {
"application": {
"js": "/entrypoints/application-ba13ddb2.js",
"js.map": "/entrypoints/application-ba13ddb2.js.map",
"js": "/entrypoints/application-17bd0644.js",
"js.map": "/entrypoints/application-17bd0644.js.map",
"css": "/css/application-f5ebf47f.css",
"css.map": "/css/application-f5ebf47f.css.map"
},
Expand All @@ -25,13 +25,5 @@
"css/application.css": "/css/application-f5ebf47f.css",
"css/application.css.map": "/css/application-f5ebf47f.css.map",
"css/pack2.css": "/css/pack2-86db1dbd.css",
"css/pack2.css.map": "/css/pack2-86db1dbd.css.map",
"assets/logo.svg": "/assets/logo-4c7b557810aeeb58.svg",
"assets": {
"logo": "/assets/logo-4c7b557810aeeb58.svg",
"nested-image": "/assets/other-images/further-nested/nested-image-d531000f105d669d.jpg",
"small-house": "/assets/small-house-d531000f105d669d.png"
},
"assets/other-images/further-nested/nested-image.jpg": "/assets/other-images/further-nested/nested-image-d531000f105d669d.jpg",
"assets/small-house.png": "/assets/small-house-d531000f105d669d.png"
"css/pack2.css.map": "/css/pack2-86db1dbd.css.map"
}
8 changes: 4 additions & 4 deletions __tests__/examples/example_dir/src/entrypoints/application.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import JS from "../javascript";
import * as channels from "../channels";
import "../stylesheets/index.css";
import jsonFile from "../assets/x.json"
import logo from "../assets/logo.svg"
import SmallHouse from "../assets/small-house.png"
import "../assets/other-images/further-nested/nested-image.jpg"
import jsonFile from "../data/x.json"
import logo from "../images/logo.svg"
import SmallHouse from "../images/small-house.png"
import "../images/other-images/further-nested/nested-image.jpg"

import styles from "../stylesheets/button.module.css"

Expand Down
2 changes: 1 addition & 1 deletion __tests__/examples/example_dir/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4537,7 +4537,7 @@ snapdragon@^0.8.1:
use "^3.1.0"

"snowpack-plugin-rollup-bundle@file:../../../pkg":
version "0.2.0"
version "0.2.1"
dependencies:
"@rollup/plugin-commonjs" "^15.1.0"
"@rollup/plugin-node-resolve" "^9.0.0"
Expand Down
6 changes: 0 additions & 6 deletions __tests__/examples/snowpacker/src/assets/logo.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions __tests__/examples/snowpacker/src/assets/x.json

This file was deleted.

8 changes: 4 additions & 4 deletions __tests__/examples/snowpacker/src/entrypoints/application.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import JS from "../javascript";
import * as channels from "../channels";
import "../stylesheets/index.css";
import jsonFile from "../assets/x.json"
import logo from "../assets/logo.svg"
import SmallHouse from "../assets/small-house.png"
import "../assets/other-images/further-nested/nested-image.jpg"
import jsonFile from "../data/x.json"
import logo from "../images/logo.svg"
import SmallHouse from "../images/small-house.png"
import "../images/other-images/further-nested/nested-image.jpg"

import styles from "../stylesheets/button.module.css"

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f106fa9

Please sign in to comment.